[Checkins] SVN: z3c.form/trunk/src/z3c/form/zcml.txt Made this check more robust.
Malthe Borch
mborch at gmail.com
Mon Nov 24 05:01:38 EST 2008
Log message for revision 93291:
Made this check more robust.
Changed:
U z3c.form/trunk/src/z3c/form/zcml.txt
-=-
Modified: z3c.form/trunk/src/z3c/form/zcml.txt
===================================================================
--- z3c.form/trunk/src/z3c/form/zcml.txt 2008-11-24 09:08:56 UTC (rev 93290)
+++ z3c.form/trunk/src/z3c/form/zcml.txt 2008-11-24 10:01:37 UTC (rev 93291)
@@ -74,8 +74,9 @@
and check it:
- >>> template
- <ViewPageTemplateFile ...widget.pt>
+ >>> from z3c.pt.compat import ViewPageTemplateFile
+ >>> isinstance(template, ViewPageTemplateFile)
+ True
Let's use the template within the widget.
More information about the Checkins
mailing list