← Back to team overview

duplicity-team team mailing list archive

[Merge] lp:~mterry/duplicity/u1-utf8 into lp:duplicity

 

Michael Terry has proposed merging lp:~mterry/duplicity/u1-utf8 into lp:duplicity.

Requested reviews:
  duplicity-team (duplicity-team)
Related bugs:
  Bug #1080423 in Duplicity: "UnicodeDecodeError when backing up to Ubuntu One in some locales"
  https://bugs.launchpad.net/duplicity/+bug/1080423

For more details, see:
https://code.launchpad.net/~mterry/duplicity/u1-utf8/+merge/138275

See bug for description.
-- 
https://code.launchpad.net/~mterry/duplicity/u1-utf8/+merge/138275
Your team duplicity-team is requested to review the proposed merge of lp:~mterry/duplicity/u1-utf8 into lp:duplicity.
=== modified file 'duplicity/backends/u1backend.py'
--- duplicity/backends/u1backend.py	2012-11-03 22:12:45 +0000
+++ duplicity/backends/u1backend.py	2012-12-05 18:02:22 +0000
@@ -236,7 +236,7 @@
         if 'children' in content:
             for child in content['children']:
                 path = urllib.unquote(child['path'].lstrip('/'))
-                filelist += [path]
+                filelist += [path.encode('utf-8')]
         return filelist
 
     def delete(self, filename_list):


Follow ups