Log message for revision 41051:
Didn't mean to check that in.
Changed:
U CMF/trunk/GenericSetup/utils.py
-=-
Modified: CMF/trunk/GenericSetup/utils.py
===================================================================
--- CMF/trunk/GenericSetup/utils.py 2005-12-29 01:36:40 UTC (rev 41050)
+++ CMF/trunk/GenericSetup/utils.py 2005-12-29 02:04:20 UTC (rev 41051)
@@ -512,15 +512,8 @@
def _importBody(self, body):
"""Import the object from the file body.
"""
- from xml.parsers.expat import ExpatError
- try:
- node = parseString(body)
- except ExpatError:
- print 'error in', body
- raise
+ self._importNode(parseString(body).documentElement)
- self._importNode(node.documentElement)
-
mime_type = 'text/xml'
name = ''
_______________________________________________
CMF-checkins mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/cmf-checkins