Reformat comments for consistency and to save a few more lines.
authorBernardo Innocenti <bernie@codewiz.org>
Sat, 22 Mar 2008 16:14:59 +0000 (17:14 +0100)
committerBernardo Innocenti <bernie@codewiz.org>
Thu, 27 Mar 2008 22:07:31 +0000 (23:07 +0100)
geekigeeki.py

index f403885ec31c77a88853dd1163e673398531ad4c..7695228a895cb33c7d9720980022aaae891a9b8a 100755 (executable)
@@ -262,8 +262,7 @@ def send_footer(name, mod_string=None):
         print '<p class="modified">last modified %s</p>' % mod_string
     print '</div></body></html>'
 
-# ----------------------------------------------------------
-# Macros
+# Macros ------------------------------------------------------------
 def _macro_TitleSearch(*vargs):
     return _macro_search("titlesearch")
 
@@ -324,8 +323,6 @@ def _macro_TitleIndex(*vargs):
         s += Page(name).link_to()
     return s
 
-
-# ----------------------------------------------------------
 class PageFormatter:
     """Object that turns Wiki markup into HTML.
 
@@ -548,7 +545,6 @@ class PageFormatter:
         print self._undent()
         print '</p></div>'
 
-# ----------------------------------------------------------
 class Page:
     def __init__(self, page_name):
         self.page_name = page_name