Commit 1577c89e authored by Aurel's avatar Aurel

typo


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