[Erp5-report] r43350 aurel - /erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 15 14:59:03 CET 2011


Author: aurel
Date: Tue Feb 15 14:59:02 2011
New Revision: 43350

URL: http://svn.erp5.org?rev=43350&view=rev
Log:
typo

Modified:
    erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py

Modified: erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py?rev=43350&r1=43349&r2=43350&view=diff
==============================================================================
--- erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py [utf8] (original)
+++ erp5/trunk/products/ERP5SyncML/Conduit/ERP5Conduit.py [utf8] Tue Feb 15 14:59:02 2011
@@ -205,7 +205,7 @@ class ERP5Conduit(XMLSyncUtilsMixin):
     #LOG('ERP5Conduit.deleteNode', INFO, 'object path:%s' % object.getPath())
     #LOG('ERP5Conduit deleteNode', INFO, 'object_id:%r' % object_id)
     if object_id is not None:
-      self._deleteContent(object=object, object_id=object_id, kw)
+      self._deleteContent(object=object, object_id=object_id, **kw)
       return []
     xml = self.convertToXml(xml)
     #LOG('ERP5Conduit deleteNode', INFO, etree.tostring(xml, pretty_print=True))
@@ -219,7 +219,7 @@ class ERP5Conduit(XMLSyncUtilsMixin):
     elif context_to_delete != object:
       self._deleteContent(object=context_to_delete.getParentValue(),
                                            object_id=context_to_delete.getId(),
-                          kw)
+                          **kw)
     else:
       #same context
       if [role for role in LOCAL_ROLE_LIST if role in xpath_expression]:



More information about the Erp5-report mailing list