diff MoinMoin/action/SyncPages.py @ 1321:d0c171c168a8

Minor cleanup, added entry to my CHANGES file.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Thu, 17 Aug 2006 21:22:03 +0200
parents a36c70e5f0dd
children cd150467ee30
line wrap: on
line diff
--- a/MoinMoin/action/SyncPages.py	Thu Aug 17 21:05:23 2006 +0200
+++ b/MoinMoin/action/SyncPages.py	Thu Aug 17 21:22:03 2006 +0200
@@ -137,13 +137,13 @@
 
             self.sync(params, local, remote)
         except ActionStatus, e:
-            msg = u'<p class="error">%s</p><p>%s</p>\n' % (e.args[0], repr(self.status)) # XXX remove self.status
+            msg = u'<p class="error">%s</p>\n' % (e.args[0], )
         else:
-            msg = u"%s<p>%s</p>" % (_("Syncronisation finished."), repr(self.status)) # XXX remove self.status
+            msg = u"%s" % (_("Syncronisation finished."), )
 
         self.page.saveText(self.page.get_raw_body() + "\n\n" + self.generate_log_table(), 0)
+        # XXX release readlock on self.page
 
-        # XXX release readlock on self.page
         return self.page.send_page(self.request, msg=msg)
     
     def sync(self, params, local, remote):