Changeset 3254 in products


Ignore:
Timestamp:
Jul 25, 2011 10:16:53 AM (10 years ago)
Author:
enkidu
Message:

fix pypep8 problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonecomments/trunk/quintagroup/plonecomments/browser/comments.py

    r3248 r3254  
    2525    def __init__(self, *args): 
    2626        super(CommentsViewlet, self).__init__(*args) 
    27         if hasattr(self,'login_url') and not hasattr(self,'login_action'): 
    28             # In plone 4.0 in plone.app.layout.viewlets.comments function login_ action 
    29             # was renamed to login_url 
     27        if hasattr(self, 'login_url') and not hasattr(self, 'login_action'): 
     28            # In plone 4.0 in plone.app.layout.viewlets.comments function 
     29            # login_ action was renamed to login_url 
    3030            self.login_action = self.login_url 
    3131 
     
    4949 
    5050    def getGravatar(self, reply): 
     51        """ """ 
    5152        purl = getToolByName(self.context, 'portal_url') 
    5253        mtool = getToolByName(self.context, 'portal_membership') 
     
    159160            node = ksscore.getHtmlIdSelector('span-reply-form-holder-%s' % \ 
    160161                                             comment_id) 
    161             ksscore.replaceInnerHTML(node,  html) 
     162            ksscore.replaceInnerHTML(node, html) 
    162163            return self.render() 
    163164 
     
    180181        html = self.macroContent('context/report_abuse_form/macros/captcha', 
    181182                                 **request.form) 
    182         ksscore.replaceInnerHTML(node,  html) 
     183        ksscore.replaceInnerHTML(node, html) 
    183184        return self.render() 
Note: See TracChangeset for help on using the changeset viewer.