Commit 7423c66f authored by Nicolas Delaby's avatar Nicolas Delaby

xml_mapping can be None

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14731 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 350be41a
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment