comparison MoinMoin/action/SyncPages.py @ 1099:92f5835853ae

Fixed full iwid for all cases.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Sun, 30 Jul 2006 03:55:58 +0200
parents cdd1ea31f00e
children 397b97122ad9
comparison
equal deleted inserted replaced
1098:cdd1ea31f00e 1099:92f5835853ae
98 raise UnsupportedWikiException(_("The remote wiki uses a different InterWiki name (%(remotename)s)" 98 raise UnsupportedWikiException(_("The remote wiki uses a different InterWiki name (%(remotename)s)"
99 " internally than you specified (%(localname)s).") % { 99 " internally than you specified (%(localname)s).") % {
100 "remotename": remote_interwikiname, "localname": interwikiname}) 100 "remotename": remote_interwikiname, "localname": interwikiname})
101 101
102 if self.is_anonymous: 102 if self.is_anonymous:
103 self.iwid_full = remote_iwid 103 self.iwid_full = packLine([remote_iwid])
104 else: 104 else:
105 self.iwid_full = packLine([remote_iwid, interwikiname]) 105 self.iwid_full = packLine([remote_iwid, interwikiname])
106 106
107 def createConnection(self): 107 def createConnection(self):
108 return xmlrpclib.ServerProxy(self.xmlrpc_url, allow_none=True, verbose=True) 108 return xmlrpclib.ServerProxy(self.xmlrpc_url, allow_none=True, verbose=True)