diff MoinMoin/action/SyncPages.py @ 977:b258156f1288

Added question to my CHANGES file, fixed a bug in SyncPages
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Mon, 17 Jul 2006 13:29:36 +0200
parents a442ed63b165
children 807f80c76d81
line wrap: on
line diff
--- a/MoinMoin/action/SyncPages.py	Sat Jul 15 19:46:58 2006 +0200
+++ b/MoinMoin/action/SyncPages.py	Mon Jul 17 13:29:36 2006 +0200
@@ -92,7 +92,7 @@
         except ActionStatus, e:
             return self.page.send_page(self.request, msg=u'<p class="error">%s</p>\n' % (e.args[0], ))
 
-        raise ActionStatus(_("Syncronisation finished."))
+        return self.page.send_page(self.request, msg=_("Syncronisation finished."))
     
 def execute(pagename, request):
     ActionClass(pagename, request).render()