Ignore:
Timestamp:
Apr 15, 2011 1:00:00 PM (13 years ago)
Author:
vmaksymiv
Message:

pep8 fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha/example.py

    r2810 r3121  
    88from quintagroup.formlib.captcha import Captcha 
    99 
     10 
    1011# Define CaptchaFormlibForm form schema 
    11  
    1212class ICaptchaFormlibFormSchema(Interface): 
    1313    label = TextLine(title=u'Label', 
    1414                     required=False) 
    1515    captcha = Captcha(title=u'Type the code') 
    16        
     16 
     17 
    1718# Create adapter for any object to ICaptchaFormlibFormSchema 
    1819# schema interface 
    19  
    2020class CaptchaFormlibFormAdapter(object): 
    2121    implements(ICaptchaFormlibFormSchema) 
     
    2626    label = u'' 
    2727    captcha = None 
    28        
     28 
     29 
    2930# And at the last define the CaptchaFormlibForm form 
    30  
    3131class CaptchaFormlibForm(EditForm): 
    3232    form_fields = FormFields(ICaptchaFormlibFormSchema) 
Note: See TracChangeset for help on using the changeset viewer.