From 7423c66fdda09411fc234a4778a655d44a90a5fd Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Thu, 7 Jun 2007 09:46:42 +0000 Subject: [PATCH] xml_mapping can be None git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14731 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5SyncML/XMLSyncUtils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/product/ERP5SyncML/XMLSyncUtils.py b/product/ERP5SyncML/XMLSyncUtils.py index e1209f9683..db0ce822c0 100644 --- a/product/ERP5SyncML/XMLSyncUtils.py +++ b/product/ERP5SyncML/XMLSyncUtils.py @@ -295,6 +295,8 @@ class XMLSyncUtilsMixin(SyncCode): """ 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: -- 2.30.9