Changeset 2295 in products for quintagroup.pfg.captcha


Ignore:
Timestamp:
May 12, 2010 9:59:02 AM (14 years ago)
Author:
chervol
Message:

fixed interface binding

File:
1 edited

Legend:

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

    r2084 r2295  
    11from Products.CMFCore.utils import getToolByName 
    2 from Products.validation import validation, interfaces 
     2from Products.validation import validation 
     3from Products.validation.interfaces.IValidator import IValidator 
     4from zope.interface import implements 
    35 
    46from Products.CMFPlone.utils import safe_hasattr 
     
    68class CaptchaValidator: 
    79 
    8     __implements__ = (interfaces.ivalidator,) 
     10    implements(IValidator) 
    911 
    1012    name = 'CaptchaValidator' 
Note: See TracChangeset for help on using the changeset viewer.