diff MoinMoin/action/SyncPages.py @ 971:d24f2b1d606a

Refactoring, fixed Fault codes, fixed return format of the getdiff method.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Wed, 12 Jul 2006 00:14:55 +0200
parents f29c09448353
children a442ed63b165
line wrap: on
line diff
--- a/MoinMoin/action/SyncPages.py	Sun Jul 09 21:08:01 2006 +0200
+++ b/MoinMoin/action/SyncPages.py	Wed Jul 12 00:14:55 2006 +0200
@@ -29,7 +29,7 @@
     def __repr__(self):
         return "<RemoteWiki wiki_url=%r valid=%r>" % (self.valid, self.wiki_url)
 
-class PackagePages:
+class ActionClass:
     def __init__(self, pagename, request):
         self.request = request
         self.pagename = pagename
@@ -72,5 +72,4 @@
         raise ActionStatus(_("Syncronisation finished."))
     
 def execute(pagename, request):
-    """ Glue code for actions """
-    PackagePages(pagename, request).render()
+    ActionClass(pagename, request).render()