Ignore:
Timestamp:
Apr 19, 2011 12:05:38 PM (9 years ago)
Author:
vmaksymiv
Message:

pep8 fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.canonicalpath/trunk/quintagroup/canonicalpath/adapters.py

    r2369 r3145  
    5555        """ 
    5656        if self.context.hasProperty(self.prop): 
    57             self.context.manage_delProperties(ids=[self.prop,]) 
     57            self.context.manage_delProperties(ids=[self.prop, ]) 
    5858 
    5959 
     
    8686    def __init__(self, context): 
    8787        super(DefaultCanonicalPathAdapter, self).__init__(context) 
    88         self.purl = getToolByName(self.context,'portal_url') 
     88        self.purl = getToolByName(self.context, 'portal_url') 
    8989 
    9090    def getDefault(self): 
    91         return '/'+'/'.join(self.purl.getRelativeContentPath(self.context)) 
     91        return '/' + '/'.join(self.purl.getRelativeContentPath(self.context)) 
    9292 
    9393    canonical_path = property(DefaultCanonicalAdapter.getProp, 
Note: See TracChangeset for help on using the changeset viewer.