]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/bugs/rst_fails_on_file_containing_only_a_number.mdwn
web commit by http://madduck.net/
[git.ikiwiki.info.git] / doc / bugs / rst_fails_on_file_containing_only_a_number.mdwn
index 49c7eafed2c6438af496eb58fa89b5cf02c4f693..5a5b57c5f40c6ce733589f30f8719a1ed95af29d 100644 (file)
@@ -5,3 +5,20 @@ throwing code..):
        exceptions.TypeError:coercing to Unicode: need string or buffer, int found
 
 --[[Joey]]
+
+> Does this patch against proxy.py help?
+
+    index 5136b3c..545e226 100755
+    --- a/plugins/proxy.py
+    +++ b/plugins/proxy.py
+    @@ -88,7 +101,7 @@ class _IkiWikiExtPluginXMLRPCHandler(object):
+
+        @staticmethod
+        def _write(out_fd, data):
+    -        out_fd.write(data)
+    +        out_fd.write(str(data))
+            out_fd.flush()
+
+        @staticmethod
+
+[[tag patch]]