[Zope3-checkins] CVS: Zope3/src/zope/configuration -
xmlconfig.py:1.17
Philipp von Weitershausen
philikon at philikon.de
Wed Dec 17 03:04:08 EST 2003
Update of /cvs-repository/Zope3/src/zope/configuration
In directory cvs.zope.org:/tmp/cvs-serv9001
Modified Files:
xmlconfig.py
Log Message:
Booleans.
=== Zope3/src/zope/configuration/xmlconfig.py 1.16 => 1.17 ===
--- Zope3/src/zope/configuration/xmlconfig.py:1.16 Fri Aug 22 16:02:22 2003
+++ Zope3/src/zope/configuration/xmlconfig.py Wed Dec 17 03:04:07 2003
@@ -230,7 +230,7 @@
), sys.exc_info()[2]
-def processxmlfile(file, context, testing=0):
+def processxmlfile(file, context, testing=False):
"""Process a configuration file
See examples in tests/text_xmlconfig.py
@@ -239,7 +239,7 @@
src.setByteStream(file)
parser = make_parser()
parser.setContentHandler(ConfigurationHandler(context, testing=testing))
- parser.setFeature(feature_namespaces, 1)
+ parser.setFeature(feature_namespaces, True)
try:
parser.parse(src)
except SAXParseException:
More information about the Zope3-Checkins
mailing list