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

PPP fixes

File:
1 edited

Legend:

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

    r3430 r3606  
    99from Products.PloneFormGen.content.fieldsBase import BaseFormField 
    1010from Products.PloneFormGen.content.fieldsBase \ 
    11         import BaseFieldSchemaStringDefault 
     11    import BaseFieldSchemaStringDefault 
    1212 
    1313from quintagroup.pfg.captcha.config import PROJECTNAME 
     
    5757        # set a preconfigured field as an instance attribute 
    5858        self.fgField = StringField('fg_string_field', 
    59             searchable=0, 
    60             required=1, 
    61             write_permission=View, 
    62             validators=('isCaptchaCorrect',), 
    63             widget=CaptchaWidget(), 
    64             ) 
     59                                   searchable=0, 
     60                                   required=1, 
     61                                   write_permission=View, 
     62                                   validators=('isCaptchaCorrect',), 
     63                                   widget=CaptchaWidget(), 
     64                                   ) 
    6565 
    6666registerATCT(CaptchaField, PROJECTNAME) 
Note: See TracChangeset for help on using the changeset viewer.