Ignore:
Timestamp:
Apr 21, 2011 1:43:09 PM (8 years ago)
Author:
vmaksymiv
Message:

pep8, pyflakes fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.pfg.captcha/trunk/quintagroup/pfg/captcha/setuphandlers.py

    r2737 r3168  
    66captcha_fields = [] 
    77 
     8 
    89def migrateToPackage(context): 
    9     """Collect old Products.qPloneCaptchaFields fields (before types tool setup). 
     10    """ 
     11    Collect old Products.qPloneCaptchaFields fields (before types tool setup). 
    1012    """ 
    1113    global captcha_fields 
     
    2022        catalog = plone_tools.catalog() 
    2123        captcha_fields = [(cf.id, cf.getObject().aq_parent) \ 
    22                           for cf in catalog.search({'portal_type':'CaptchaField'})] 
     24                          for cf in catalog.search( 
     25                                {'portal_type': 'CaptchaField'})] 
    2326        logger.info("Old Products.qPloneCaptchaField fields collected.") 
    2427 
Note: See TracChangeset for help on using the changeset viewer.