fix captcha import; unit tests pass without p.f.captcha installed.

svn path=/plone.app.discussion/trunk/; revision=28942
This commit is contained in:
Timo Stollenwerk 2009-08-15 19:44:39 +00:00
parent 50de2b4031
commit 4a78ce44e0
1 changed files with 1 additions and 3 deletions

View File

@ -16,9 +16,7 @@ from zope.schema import ValidationError
from plone.registry.interfaces import IRegistry
from plone.app.discussion.interfaces import IDiscussionSettings
from plone.formwidget.captcha import CaptchaMessageFactory as _
from plone.app.discussion.interfaces import IDiscussionSettings, MessageFactory as _
class WrongCaptchaCode(ValidationError):
__doc__ = _("""The code you entered was wrong, please enter the new one.""")