[Checkins] SVN: Products.CMFDefault/branches/2.2/Products/CMFDefault/formlib/form.txt Backported c113205 from trunk
Hanno Schlichting
hannosch at hannosch.eu
Sun Jun 6 10:10:59 EDT 2010
Log message for revision 113206:
Backported c113205 from trunk
Changed:
U Products.CMFDefault/branches/2.2/Products/CMFDefault/formlib/form.txt
-=-
Modified: Products.CMFDefault/branches/2.2/Products/CMFDefault/formlib/form.txt
===================================================================
--- Products.CMFDefault/branches/2.2/Products/CMFDefault/formlib/form.txt 2010-06-06 14:10:01 UTC (rev 113205)
+++ Products.CMFDefault/branches/2.2/Products/CMFDefault/formlib/form.txt 2010-06-06 14:10:59 UTC (rev 113206)
@@ -21,7 +21,13 @@
Register the content class and factory.
>>> from Products.CMFDefault.formlib.tests import CONTENT_ZCML
- >>> from Products.Five import zcml
+
+ # BBB for Zope 2.12
+ >>> try:
+ ... from Zope2.App import zcml
+ ... except ImportError:
+ ... from Products.Five import zcml
+
>>> zcml.load_string(CONTENT_ZCML)
Create the type info object.
More information about the checkins
mailing list