summaryrefslogtreecommitdiff
path: root/community/duplicity/u1-ascii-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/duplicity/u1-ascii-error.patch')
-rw-r--r--community/duplicity/u1-ascii-error.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/duplicity/u1-ascii-error.patch b/community/duplicity/u1-ascii-error.patch
new file mode 100644
index 000000000..0812653b9
--- /dev/null
+++ b/community/duplicity/u1-ascii-error.patch
@@ -0,0 +1,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):
+