force data written to stdout to be a string
authormartin f. krafft <madduck@madduck.net>
Sun, 16 Mar 2008 11:03:52 +0000 (12:03 +0100)
committerJoey Hess <joey@kodama.kitenet.net>
Mon, 17 Mar 2008 21:17:01 +0000 (17:17 -0400)
(cherry picked from commit 65c24d4aeca6188f4423ad1809f2415285843155)

plugins/proxy.py

index e6635e752404a8d941092f7d3e44d6e983995180..6f9b1f8525821645d1dee6580864ec3b9e320473 100644 (file)
@@ -88,7 +88,7 @@ class _IkiWikiExtPluginXMLRPCHandler(object):
 
     @staticmethod
     def _write(out_fd, data):
-        out_fd.write(data)
+        out_fd.write(str(data))
         out_fd.flush()
 
     @staticmethod