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): ...@@ -205,7 +205,7 @@ class ERP5Conduit(XMLSyncUtilsMixin):
#LOG('ERP5Conduit.deleteNode', INFO, 'object path:%s' % object.getPath()) #LOG('ERP5Conduit.deleteNode', INFO, 'object path:%s' % object.getPath())
#LOG('ERP5Conduit deleteNode', INFO, 'object_id:%r' % object_id) #LOG('ERP5Conduit deleteNode', INFO, 'object_id:%r' % object_id)
if object_id is not None: 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 [] return []
xml = self.convertToXml(xml) xml = self.convertToXml(xml)
#LOG('ERP5Conduit deleteNode', INFO, etree.tostring(xml, pretty_print=True)) #LOG('ERP5Conduit deleteNode', INFO, etree.tostring(xml, pretty_print=True))
...@@ -219,7 +219,7 @@ class ERP5Conduit(XMLSyncUtilsMixin): ...@@ -219,7 +219,7 @@ class ERP5Conduit(XMLSyncUtilsMixin):
elif context_to_delete != object: elif context_to_delete != object:
self._deleteContent(object=context_to_delete.getParentValue(), self._deleteContent(object=context_to_delete.getParentValue(),
object_id=context_to_delete.getId(), object_id=context_to_delete.getId(),
kw) **kw)
else: else:
#same context #same context
if [role for role in LOCAL_ROLE_LIST if role in xpath_expression]: 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