summaryrefslogtreecommitdiff
path: root/bin/swift
diff options
context:
space:
mode:
authorDavid Goetz <dpgoetz@gmail.com>2013-09-10 13:12:29 -0700
committerDavid Goetz <dpgoetz@gmail.com>2013-09-10 13:12:29 -0700
commit266217e32c7119dce3d21014e3bf0e7ff354c79d (patch)
tree3ae7e1f734f3bc46a5f62383d75b83944b9a8067 /bin/swift
parent0278998398cbe0caeb5237b30e316c0a59669c87 (diff)
downloadpython-swiftclient-266217e32c7119dce3d21014e3bf0e7ff354c79d.tar.gz
fix bug with replace old *LOs
Change-Id: I9e6278b62608cf36fa7e5e228f234cc8199c17fc
Diffstat (limited to 'bin/swift')
-rwxr-xr-xbin/swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/swift b/bin/swift
index 6cfd9ea..4d11bae 100755
--- a/bin/swift
+++ b/bin/swift
@@ -1011,7 +1011,7 @@ def st_upload(parser, args, thread_manager):
container, obj,
query_string='multipart-manifest=get')
for old_seg in json.loads(manifest_data):
- seg_path = old_seg['path'].lstrip('/')
+ seg_path = old_seg['name'].lstrip('/')
if isinstance(seg_path, unicode):
seg_path = seg_path.encode('utf-8')
old_slo_manifest_paths.append(seg_path)