changeset 4753:5db0151a2df3

Done PEP-8 compilance
author Cezary Krzy?anowski <cezary.krzyzanowski@gmail.com>
date Sat, 04 Jul 2009 16:22:01 +0200
parents e6190a499a7e
children 7cb92118a93e 14c74ab59b45
files MoinMoin/macro/WantedPages.py MoinMoin/search/_tests/test_search.py MoinMoin/wsgiapp.py
diffstat 3 files changed, 10 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/WantedPages.py	Sun Jul 05 16:22:42 2009 +0200
+++ b/MoinMoin/macro/WantedPages.py	Sat Jul 04 16:22:01 2009 +0200
@@ -47,7 +47,7 @@
         links = page.getPageLinks(request)
         is_deprecated = page.parse_processing_instructions(
                 ).get('deprecated', False)
-        
+
         for link in links:
             if not link in pages and request.user.may.read(link):
                 if is_deprecated:
--- a/MoinMoin/search/_tests/test_search.py	Sun Jul 05 16:22:42 2009 +0200
+++ b/MoinMoin/search/_tests/test_search.py	Sat Jul 04 16:22:01 2009 +0200
@@ -114,21 +114,19 @@
 
     def testIndex(self):
         """ search: kicks off indexing for a single pages in Xapian """
-        
+
         # AD - This only tests the the call to indexing doesn't raise.
-        
-        idx = Xapian.Index( self.request )
-        idx.indexPages( ['HomePageWiki'], mode='add' )
-        
+
+        idx = Xapian.Index(self.request)
+        idx.indexPages(['HomePageWiki'], mode='add')
+
     def testIndexInNewThread(self):
         """ search: kicks off indexing for a page in a new thread in Xapian"""
 
         # AD - This only tests the the call to indexing doesn't raise.
 
-        idx = Xapian.Index( self.request )
-        idx.indexPagesInNewThread( ['HomePageWiki'], mode='add' )
+        idx = Xapian.Index(self.request)
+        idx.indexPagesInNewThread(['HomePageWiki'], mode='add')
 
-        
-        
 coverage_modules = ['MoinMoin.search']
 
--- a/MoinMoin/wsgiapp.py	Sun Jul 05 16:22:42 2009 +0200
+++ b/MoinMoin/wsgiapp.py	Sat Jul 04 16:22:01 2009 +0200
@@ -40,9 +40,9 @@
 
     def finish():
         pass
-    
+
     context.finish = finish
-    
+
     context.reset()
 
     context.clock.stop('init')