fix r36843 commit. set HAS_WRAPPED_FORM to false for plone.z3cform < 0.6.0.

svn path=/plone.app.discussion/trunk/; revision=36845
This commit is contained in:
Timo Stollenwerk 2010-05-31 10:05:57 +00:00
parent 3d22bc56c4
commit 682ceb2760

View File

@ -47,7 +47,7 @@ try:
from plone.z3cform.interfaces import IWrappedForm from plone.z3cform.interfaces import IWrappedForm
HAS_WRAPPED_FORM = True HAS_WRAPPED_FORM = True
except ImportError: except ImportError:
HAS_WRAPPED_FORM = True HAS_WRAPPED_FORM = False
class CommentForm(extensible.ExtensibleForm, form.Form): class CommentForm(extensible.ExtensibleForm, form.Form):