diff --git a/product/ERP5SyncML/XMLSyncUtils.py b/product/ERP5SyncML/XMLSyncUtils.py index 14f236d03347959d7134b09c0faf852329268c0e..68c26223de0bea3a7022e40941f1307f529bc4d0 100644 --- a/product/ERP5SyncML/XMLSyncUtils.py +++ b/product/ERP5SyncML/XMLSyncUtils.py @@ -708,7 +708,7 @@ class XMLSyncUtilsMixin(SyncCode): return comment_list[0].childNodes[0].data.encode('utf-8') return None - def getActionId(self, action, action_name): + def getActionId(self, action): """ Return the rid of the object described by the action """ @@ -1032,7 +1032,7 @@ class XMLSyncUtilsMixin(SyncCode): status_code = self.SUCCESS # Thirst we have to check the kind of action it is partial_data = self.getPartialData(action) - rid = self.getActionId(action, action.nodeName) + rid = self.getActionId(action) if action.nodeName != 'Delete': if hasattr(conduit, 'getGidFromXML'): gid = b16encode(conduit.getGidFromXML(self.getDataText(action)))