Ignore:
Timestamp:
Oct 25, 2012 10:12:14 AM (7 years ago)
Author:
vmaksymiv
Message:

PPP fixes

File:
1 edited

Legend:

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

    r3168 r3606  
    2121    if cftype and getattr(cftype, 'product', "") == "qPloneCaptchaField": 
    2222        catalog = plone_tools.catalog() 
    23         captcha_fields = [(cf.id, cf.getObject().aq_parent) \ 
     23        captcha_fields = [(cf.id, cf.getObject().aq_parent) 
    2424                          for cf in catalog.search( 
    25                                 {'portal_type': 'CaptchaField'})] 
     25                          {'portal_type': 'CaptchaField'})] 
    2626        logger.info("Old Products.qPloneCaptchaField fields collected.") 
    2727 
Note: See TracChangeset for help on using the changeset viewer.