Changeset 3606 in products for quintagroup.pfg.captcha/trunk/quintagroup/pfg/captcha/setuphandlers.py
- Timestamp:
- Oct 25, 2012 10:12:14 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.pfg.captcha/trunk/quintagroup/pfg/captcha/setuphandlers.py
r3168 r3606 21 21 if cftype and getattr(cftype, 'product', "") == "qPloneCaptchaField": 22 22 catalog = plone_tools.catalog() 23 captcha_fields = [(cf.id, cf.getObject().aq_parent) \23 captcha_fields = [(cf.id, cf.getObject().aq_parent) 24 24 for cf in catalog.search( 25 25 {'portal_type': 'CaptchaField'})] 26 26 logger.info("Old Products.qPloneCaptchaField fields collected.") 27 27
Note: See TracChangeset
for help on using the changeset viewer.