summaryrefslogtreecommitdiff
path: root/community/duplicity/u1-ascii-error.patch
blob: 0812653b9ae3bfa5f0bb5e92fda899c38181be6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
=== 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):