diff MoinMoin/theme/__init__.py @ 3070:ed1a433803c6

PEP8 fixes
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 22 Feb 2008 19:28:52 +0100
parents 036fc4dce2ee
children dafb1b4e75e5
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Fri Feb 22 18:31:22 2008 +0100
+++ b/MoinMoin/theme/__init__.py	Fri Feb 22 19:28:52 2008 +0100
@@ -1119,7 +1119,7 @@
 
            If the discussion page doesn't exist and the user
            has no right to create it, show a disabled link.
-	"""
+        """
         _ = self.request.getText
         suppl_name = self.request.cfg.supplementation_page_name
         suppl_name_full = "%s/%s" % (page.page_name, suppl_name)
@@ -1458,12 +1458,12 @@
     def add_msg(self, msg, msg_class="dialog"):
         """ Adds a message to a list which will be used to generate status
         information.
-        
+
         @param msg: additional message
         @param msg_class: html class for the div of the additional message.
         """
         if self._send_title_called:
-            raise Exception("You cannot call add_msg() after send_title()") 
+            raise Exception("You cannot call add_msg() after send_title()")
         self._status.append((msg, msg_class))
 
     # stuff from wikiutil.py
@@ -1493,7 +1493,7 @@
             pagename = keywords.get('pagename', '')
             page = Page(request, pagename)
         if keywords.get('msg', ''):
-            raise DeprecationWarning ("Using send_page(msg=) is deprecated! Use theme.add_msg() instead!")
+            raise DeprecationWarning("Using send_page(msg=) is deprecated! Use theme.add_msg() instead!")
         scriptname = request.getScriptname()
         pagename_quoted = wikiutil.quoteWikinameURL(pagename)