[Erp5-report] r14731 - /erp5/trunk/products/ERP5SyncML/XMLSyncUtils.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jun 7 11:46:42 CEST 2007


Author: nicolas
Date: Thu Jun  7 11:46:42 2007
New Revision: 14731

URL: http://svn.erp5.org?rev=14731&view=rev
Log:
xml_mapping can be None

Modified:
    erp5/trunk/products/ERP5SyncML/XMLSyncUtils.py

Modified: erp5/trunk/products/ERP5SyncML/XMLSyncUtils.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5SyncML/XMLSyncUtils.py?rev=14731&r1=14730&r2=14731&view=diff
==============================================================================
--- erp5/trunk/products/ERP5SyncML/XMLSyncUtils.py (original)
+++ erp5/trunk/products/ERP5SyncML/XMLSyncUtils.py Thu Jun  7 11:46:42 2007
@@ -295,6 +295,8 @@
     """
     This just allow to get the xml of the object
     """
+    if xml_mapping  in ['None', None]:
+      return
     xml_method = None
     xml = ""
     if xml_mapping is not None:




More information about the Erp5-report mailing list