fix bug with replace old *LOs

Change-Id: I9e6278b62608cf36fa7e5e228f234cc8199c17fc
This commit is contained in:
David Goetz 2013-09-10 13:12:29 -07:00
parent 0278998398
commit 266217e32c
1 changed files with 1 additions and 1 deletions

View File

@ -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)