diff MoinMoin/PageGraphicalEditor.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 4e528d291fc0
line wrap: on
line diff
--- a/MoinMoin/PageGraphicalEditor.py	Tue Mar 27 21:50:05 2007 +0200
+++ b/MoinMoin/PageGraphicalEditor.py	Fri Mar 30 21:50:50 2007 +0200
@@ -342,8 +342,8 @@
         request.write("</p>")
 
         # Category selection
-        filter = self.cfg.cache.page_category_regex.search
-        cat_pages = request.rootpage.getPageList(filter=filter)
+        filterfn = self.cfg.cache.page_category_regex.search
+        cat_pages = request.rootpage.getPageList(filter=filterfn)
         cat_pages.sort()
         cat_pages = [wikiutil.pagelinkmarkup(p) for p in cat_pages]
         cat_pages.insert(0, ('', _('<No addition>', formatted=False)))