Ignore:
Timestamp:
Apr 20, 2011 8:20:36 AM (13 years ago)
Author:
zidane
Message:

fixes pep8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/browser/sitemapview.py

    r2742 r3152  
    11from DateTime import DateTime 
    22from quintagroup.plonegooglesitemaps.browser.commonview import * 
     3 
    34 
    45class SitemapView(CommonSitemapView): 
     
    910 
    1011    additional_maps = ( 
    11         ('modification_date', lambda x:DateTime(x.ModificationDate).HTML4()), 
     12        ('modification_date', lambda x: DateTime(x.ModificationDate).HTML4()), 
    1213    ) 
    1314 
    1415    def getFilteredObjects(self): 
    1516        return self.portal_catalog( 
    16             path = self.search_path, 
    17             portal_type = self.context.getPortalTypes(), 
    18             review_state = self.context.getStates() 
     17            path=self.search_path, 
     18            portal_type=self.context.getPortalTypes(), 
     19            review_state=self.context.getStates() 
    1920            ) 
Note: See TracChangeset for help on using the changeset viewer.