Ignore:
Timestamp:
18 Nov 2014, 11:37:28 (10 years ago)
Author:
Henrik Bettermann
Message:

pep8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/vocabularies.py

    r11958 r11985  
    5656            return _('female')
    5757
     58
    5859class RegNumNotInSource(ValidationError):
    5960    """Registration number exists already
     
    6263    # by zope.formlib.
    6364    pass
     65
    6466
    6567class RegNumberSource(object):
     
    7981    validation_error = RegNumNotInSource
    8082    comp_field = 'customer_id'
     83
    8184    def __init__(self, context):
    8285        self.context = context
     
    107110        return True
    108111
     112
    109113def contextual_reg_num_source(context):
    110114    source = RegNumberSource(context)
    111115    return source
     116
    112117directlyProvides(contextual_reg_num_source, IContextSourceBinder)
Note: See TracChangeset for help on using the changeset viewer.