Browse code

Merge pull request #92 from ksauzz/support-get-operation-to-multibyte-objectname

support multibyte key name on getting object operation.

Matt Domsch authored on 2014/02/15 00:11:25
Showing 1 changed files
... ...
@@ -418,7 +418,7 @@ def fetch_remote_list(args, require_attribs = False, recursive = None):
418 418
                 remote_list.record_md5(key, objectlist.get_md5(key))
419 419
     else:
420 420
         for uri in remote_uris:
421
-            uri_str = str(uri)
421
+            uri_str = unicode(uri)
422 422
             ## Wildcards used in remote URI?
423 423
             ## If yes we'll need a bucket listing...
424 424
             wildcard_split_result = re.split("\*|\?", uri_str, maxsplit=1)