Commit 5418782f authored by Fabien Morin's avatar Fabien Morin

remove a useless parameter of getActionId


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15653 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d740c9e4
......@@ -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)))
......
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