changeset 2675:37449fd9e70a

Whitespace/pep8 fixes.
author Karol Nowak <grzywacz@sul.uni.lodz.pl>
date Tue, 14 Aug 2007 11:47:09 +0200
parents 9817a90b6fde
children ea982442f84a
files MoinMoin/action/subscribe.py MoinMoin/xmlrpc/__init__.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/subscribe.py	Tue Aug 14 11:44:12 2007 +0200
+++ b/MoinMoin/action/subscribe.py	Tue Aug 14 11:47:09 2007 +0200
@@ -18,7 +18,7 @@
         msg = _("You are not allowed to subscribe to a page you can't read.")
 
     # Check if mail is enabled
-    elif not cfg.mail_enabled and not cfg.jabber_enabled
+    elif not cfg.mail_enabled and not cfg.jabber_enabled:
         msg = _("This wiki is not enabled for mail/Jabber processing.")
 
     # Suggest visitors to login
--- a/MoinMoin/xmlrpc/__init__.py	Tue Aug 14 11:44:12 2007 +0200
+++ b/MoinMoin/xmlrpc/__init__.py	Tue Aug 14 11:47:09 2007 +0200
@@ -574,7 +574,7 @@
         self.request.rev = int(self._instr(revision))
         msg = revert.execute(pagename, self.request)
         if msg:
-            return xmlrpclib.Fault(1, "Revert failed: %s" % (msg ,))
+            return xmlrpclib.Fault(1, "Revert failed: %s" % (msg, ))
         else:
             return xmlrpclib.Boolean(1)