diff MoinMoin/script/migration/wikiutil160a.py @ 4826:9bee7b3e9235

Groups2009: pep8 fixes and minor code refinements.
author Dmitrijs Milajevs <dimazest@gmail.com>
date Sat, 27 Jun 2009 11:21:04 +0200
parents 74216148209d
children 9d510417add0
line wrap: on
line diff
--- a/MoinMoin/script/migration/wikiutil160a.py	Fri Jun 26 20:06:12 2009 +0200
+++ b/MoinMoin/script/migration/wikiutil160a.py	Sat Jun 27 11:21:04 2009 +0200
@@ -649,8 +649,8 @@
     @return: true if page is a system page
     """
     groups = request.groups
-    return (u'SystemPagesGroup' in groups and pagename in groups[u'SystemPagesGroup']) or \
-        isTemplatePage(request, pagename)
+    return ((u'SystemPagesGroup' in groups and pagename in groups[u'SystemPagesGroup']) or
+        isTemplatePage(request, pagename))
 
 
 def isTemplatePage(request, pagename):