changeset 5885:4541d744d740

wikisync: fix unicode pagename sending for python 2.7 httplib
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Mon, 17 Sep 2012 08:52:42 +0200
parents f6272199669a
children 5dfb9a831d8d
files MoinMoin/wikisync.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/wikisync.py	Sun Sep 16 23:48:18 2012 +0200
+++ b/MoinMoin/wikisync.py	Mon Sep 17 08:52:42 2012 +0200
@@ -168,7 +168,7 @@
         wikitag, wikiurl, wikitail, wikitag_bad = wikiutil.resolve_interwiki(self.request, interwikiname, '')
         self.wiki_url = wikiutil.mapURL(self.request, wikiurl)
         self.valid = not wikitag_bad
-        self.xmlrpc_url = self.wiki_url + "?action=xmlrpc2"
+        self.xmlrpc_url = str(self.wiki_url + "?action=xmlrpc2")
         if not self.valid:
             self.connection = None
             return