diff MoinMoin/action/SyncPages.py @ 2032:cf883a6917ea

better xmlrpc auth token handling
author Johannes Berg <johannes AT sipsolutions DOT net>
date Thu, 26 Apr 2007 13:09:26 +0200
parents b06ef2a53efa
children ece659592dd9
line wrap: on
line diff
--- a/MoinMoin/action/SyncPages.py	Thu Apr 26 13:09:02 2007 +0200
+++ b/MoinMoin/action/SyncPages.py	Thu Apr 26 13:09:26 2007 +0200
@@ -219,6 +219,8 @@
                 self.page.saveText(self.page.get_raw_body() + "\n\n" + self.generate_log_table(), 0)
                 # XXX release readlock on self.page
 
+                remote.delete_auth_token()
+
         return self.page.send_page(msg=msg)
 
     def sync(self, params, local, remote):