From 5c0f4697e5c78a6233f225ffe4539e2fdddb8168 Mon Sep 17 00:00:00 2001 From: Kevin Deldycke <kevin@nexedi.com> Date: Tue, 1 Feb 2005 13:47:31 +0000 Subject: [PATCH] Change a little line to improve the readability git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2370 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5SyncML/XMLSyncUtils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5SyncML/XMLSyncUtils.py b/product/ERP5SyncML/XMLSyncUtils.py index 014c3e63ee..65d32d42c7 100755 --- a/product/ERP5SyncML/XMLSyncUtils.py +++ b/product/ERP5SyncML/XMLSyncUtils.py @@ -595,7 +595,7 @@ class XMLSyncUtilsMixin(SyncCode): #if gid_generator is not None: # object_gid = gid_generator() force = 0 - if syncml_data.count('\n') < self.MAX_LINES and (object.id.find('.')!=0): # If not we have to cut + if syncml_data.count('\n') < self.MAX_LINES and not object.id.startswith('.'): # If not we have to cut xml_object = self.getXMLObject(object=object,xml_mapping=domain.xml_mapping) LOG('getSyncMLData',0,'xml_mapping: %s' % str(domain.xml_mapping)) LOG('getSyncMLData',0,'code: %s' % str(self.getAlertCode(remote_xml))) -- 2.30.9