[Zope-Checkins] SVN: Zope/trunk/src/Zope2/Startup/ - multisection has no 'dataype' (and no 'datatype') attribute
Yvo Schubbe
y.2011 at wcm-solutions.de
Fri Mar 4 11:55:26 EST 2011
Log message for revision 120747:
- multisection has no 'dataype' (and no 'datatype') attribute
Changed:
UU Zope/trunk/src/Zope2/Startup/tests/test_warnfilter.py
UU Zope/trunk/src/Zope2/Startup/zopeschema.xml
-=-
Modified: Zope/trunk/src/Zope2/Startup/tests/test_warnfilter.py
===================================================================
--- Zope/trunk/src/Zope2/Startup/tests/test_warnfilter.py 2011-03-04 11:22:09 UTC (rev 120746)
+++ Zope/trunk/src/Zope2/Startup/tests/test_warnfilter.py 2011-03-04 16:55:25 UTC (rev 120747)
@@ -87,6 +87,7 @@
message .*test.*
</warnfilter>
""")
+ self.assertEqual(len(conf.warnfilters), 2)
self.assertRaises(TestSchemaWarning, self._dowarning1)
self.assertRaises(UserWarning, self._dowarning2)
Property changes on: Zope/trunk/src/Zope2/Startup/tests/test_warnfilter.py
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
- 1.3
Modified: Zope/trunk/src/Zope2/Startup/zopeschema.xml
===================================================================
--- Zope/trunk/src/Zope2/Startup/zopeschema.xml 2011-03-04 11:22:09 UTC (rev 120746)
+++ Zope/trunk/src/Zope2/Startup/zopeschema.xml 2011-03-04 16:55:25 UTC (rev 120747)
@@ -263,8 +263,7 @@
<!-- schema begins -->
- <multisection type="warnfilter" attribute="warnfilters" name="*"
- dataype="zLOG.warn_filter_handler">
+ <multisection type="warnfilter" name="*" attribute="warnfilters">
<!-- from zLOG -->
<description>
A multisection which allows a user to set up a Python "warning" filter.
Property changes on: Zope/trunk/src/Zope2/Startup/zopeschema.xml
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
- 1.32
More information about the Zope-Checkins
mailing list