duplicity-team team mailing list archive
-
duplicity-team team
-
Mailing list archive
-
Message #01391
[Merge] lp:~mterry/duplicity/u1-ascii-error into lp:duplicity
Michael Terry has proposed merging lp:~mterry/duplicity/u1-ascii-error into lp:duplicity.
Requested reviews:
duplicity-team (duplicity-team)
For more details, see:
https://code.launchpad.net/~mterry/duplicity/u1-ascii-error/+merge/132789
>From the mailing list. Patch by Paul Barker.
--
https://code.launchpad.net/~mterry/duplicity/u1-ascii-error/+merge/132789
Your team duplicity-team is requested to review the proposed merge of lp:~mterry/duplicity/u1-ascii-error into lp:duplicity.
=== modified file 'duplicity/backends/u1backend.py'
--- duplicity/backends/u1backend.py 2012-10-27 12:16:19 +0000
+++ duplicity/backends/u1backend.py 2012-11-03 21:39:23 +0000
@@ -207,7 +207,7 @@
"Content-Type": content_type}
resp, content = self.client.request(remote_full,
method="PUT",
- body=str(data),
+ body=bytearray(data),
headers=headers)
def get(self, filename, local_path):
Follow ups