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

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jun 7 12:42:49 CEST 2007


Author: nicolas
Date: Thu Jun  7 12:42:49 2007
New Revision: 14735

URL: http://svn.erp5.org?rev=14735&view=rev
Log:
replace return None by ""

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=14735&r1=14734&r2=14735&view=diff
==============================================================================
--- erp5/trunk/products/ERP5SyncML/XMLSyncUtils.py (original)
+++ erp5/trunk/products/ERP5SyncML/XMLSyncUtils.py Thu Jun  7 12:42:49 2007
@@ -295,8 +295,8 @@
     """
     This just allow to get the xml of the object
     """
-    if xml_mapping  in ['None', None]:
-      return
+    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