diff MoinMoin/macro/RandomPage.py @ 950:4eb66637ccd0

whitespace-only cleanup, small style changes
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 17 Jul 2006 04:27:24 +0200
parents 77665d8e2254
children bb2e053067fb
line wrap: on
line diff
--- a/MoinMoin/macro/RandomPage.py	Mon Jul 17 04:01:34 2006 +0200
+++ b/MoinMoin/macro/RandomPage.py	Mon Jul 17 04:27:24 2006 +0200
@@ -15,7 +15,7 @@
 
 def execute(macro, args):
     request = macro.request
-    
+
     # get number of wanted links        
     try:
         links = max(int(args), 1)
@@ -33,13 +33,13 @@
         # Take one random page from the list
         pagename = random.choice(all_pages)
         all_pages.remove(pagename)
-        
+
         # Filter out deleted pages or pages the user may not read.
         page = Page(request, pagename)
         if page.exists() and request.user.may.read(pagename):
             pages.append(pagename)
             found += 1
-            
+
     if not pages:
         return ''