diff MoinMoin/macro/WantedPages.py @ 1920:b06ef2a53efa

'make pylint', fixed lots of minor stuff found by pylint (and there is still lots left to do)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 30 Mar 2007 21:50:50 +0200
parents bb2e053067fb
children 4fc338f01037
line wrap: on
line diff
--- a/MoinMoin/macro/WantedPages.py	Tue Mar 27 21:50:05 2007 +0200
+++ b/MoinMoin/macro/WantedPages.py	Fri Mar 30 21:50:50 2007 +0200
@@ -38,7 +38,7 @@
         # Skip system pages, because missing translations are not wanted pages,
         # unless you are a translator and clicked "Include system pages"
         if not allpages and wikiutil.isSystemPage(request, name):
-                continue
+            continue
 
         # Add links to pages which does not exists in pages dict
         links = page.getPageLinks(request)
@@ -59,7 +59,8 @@
     result = []
     result.append(macro.formatter.number_list(1))
     for name in wantednames:
-        if not name: continue
+        if not name:
+            continue
         result.append(macro.formatter.listitem(1))
         # Add link to the wanted page
         result.append(macro.formatter.pagelink(1, name, generated=1))