changeset 3690:a1a9ac307c0e

SyncPages, xmlrpc.process: bug fix for WikiSyncMissingInterWikiNameOnRemoteSide (thanks to Alexander Schremmer)
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 08 Jun 2008 22:29:47 +0200
parents 045a9528f095
children 02a602f955f6
files MoinMoin/action/SyncPages.py MoinMoin/xmlrpc/__init__.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/SyncPages.py	Sun Jun 08 21:07:09 2008 +0200
+++ b/MoinMoin/action/SyncPages.py	Sun Jun 08 22:29:47 2008 +0200
@@ -255,7 +255,7 @@
             match_direction = None
 
         local_full_iwid = packLine([local.get_iwid(), local.get_interwiki_name()])
-        remote_full_iwid = packLine([remote.get_iwid(), remote.get_interwiki_name()])
+        remote_full_iwid = remote.iwid_full
 
         self.log_status(self.INFO, _("Synchronisation started -"), raw_suffix=" <<DateTime(%s)>>" % self.page._get_local_timestamp())
 
--- a/MoinMoin/xmlrpc/__init__.py	Sun Jun 08 21:07:09 2008 +0200
+++ b/MoinMoin/xmlrpc/__init__.py	Sun Jun 08 22:29:47 2008 +0200
@@ -164,7 +164,7 @@
                 # wrap response in a singleton tuple
                 response = (response, )
                 # serialize it
-                response = xmlrpclib.dumps(response, methodresponse=1)
+                response = xmlrpclib.dumps(response, methodresponse=1, allow_none=True)
 
         self.request.emit_http_headers([
             "Content-Type: text/xml; charset=utf-8",