Merge lp:~mterry/duplicity/u1-utf8 into lp:duplicity/0.6

Proposed by Michael Terry
Status: Merged
Merged at revision: 900
Proposed branch: lp:~mterry/duplicity/u1-utf8
Merge into: lp:duplicity/0.6
Diff against target: 12 lines (+1/-1)
1 file modified
duplicity/backends/u1backend.py (+1/-1)
To merge this branch: bzr merge lp:~mterry/duplicity/u1-utf8
Reviewer Review Type Date Requested Status
duplicity-team Pending
Review via email: mp+138275@code.launchpad.net

Description of the change

See bug for description.

To post a comment you must log in.
Revision history for this message
modolo (modolo) wrote :

Even using the most recent version of the file duplicity/backends/u1backend.py was still with UnicodeDecodeError errors. I noticed that the errors occurred in duplicity/collections.py and decided to add the line:

_ = gettext.lgettext

Now I can backup without UnicodeDecodeError errors! Hope this can help.
Remembering that I'm in Brazil with Ubuntu 12.04 pt_BR

Marcelo Módolo

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'duplicity/backends/u1backend.py'
2--- duplicity/backends/u1backend.py 2012-11-03 22:12:45 +0000
3+++ duplicity/backends/u1backend.py 2012-12-05 18:02:22 +0000
4@@ -236,7 +236,7 @@
5 if 'children' in content:
6 for child in content['children']:
7 path = urllib.unquote(child['path'].lstrip('/'))
8- filelist += [path]
9+ filelist += [path.encode('utf-8')]
10 return filelist
11
12 def delete(self, filename_list):

Subscribers

People subscribed via source and target branches

to all changes: