Correct the expression xpath


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30126 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 27feb67b
......@@ -977,7 +977,7 @@ class XMLSyncUtilsMixin(SyncCode):
signature.setObjectId(object_id)
subscriber.addSignature(signature)
force = signature.getForce()
partial_node = action.find('.//%(uri)sItem/%(uri)sData/%(uri)sPartial' % {'uri': '{SYNCML:SYNCML1.2}'})
partial_node = action.find('.//{%(ns)s}Item/{%(ns)s}Data/{%(ns)s}Partial' % {'ns': SYNCML_NAMESPACE})
partial_data = partial_node is not None and partial_node.text or ''
if not self.checkActionMoreData(action):
data_subnode = None
......
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