[Erp5-report] r15653 - /erp5/trunk/products/ERP5SyncML/XMLSyncUtils.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Aug 13 17:31:42 CEST 2007


Author: fabien
Date: Mon Aug 13 17:31:42 2007
New Revision: 15653

URL: http://svn.erp5.org?rev=15653&view=rev
Log:
remove a useless parameter of getActionId

Modified:
    erp5/trunk/products/ERP5SyncML/XMLSyncUtils.py

Modified: erp5/trunk/products/ERP5SyncML/XMLSyncUtils.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5SyncML/XMLSyncUtils.py?rev=15653&r1=15652&r2=15653&view=diff
==============================================================================
--- erp5/trunk/products/ERP5SyncML/XMLSyncUtils.py (original)
+++ erp5/trunk/products/ERP5SyncML/XMLSyncUtils.py Mon Aug 13 17:31:42 2007
@@ -708,7 +708,7 @@
       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 @@
       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)))




More information about the Erp5-report mailing list