[Erp5-report] r29473 - /erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Oct 8 14:51:14 CEST 2009


Author: nicolas
Date: Thu Oct  8 14:51:12 2009
New Revision: 29473

URL: http://svn.erp5.org?rev=29473&view=rev
Log:
parse with configured parser

Modified:
    erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py

Modified: erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py?rev=29473&r1=29472&r2=29473&view=diff
==============================================================================
--- erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py [utf8] (original)
+++ erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py [utf8] Thu Oct  8 14:51:12 2009
@@ -648,7 +648,7 @@
     """
     if xml is not None and new_id is not None:
       if isinstance(xml, str):
-        xml = etree.XML(xml)
+        xml = etree.XML(xml, parser=parser)
       #copy of xml object for modification
       from copy import deepcopy
       xml_copy = deepcopy(xml)




More information about the Erp5-report mailing list