From d7d083dfcf7c3970ce8245260cba5c7882216bd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=A8le=20Vanbaelinghem?= <daniele@nexedi.com> Date: Thu, 29 Oct 2009 15:40:56 +0000 Subject: [PATCH] Correct the expression xpath git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30126 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5SyncML/XMLSyncUtils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5SyncML/XMLSyncUtils.py b/product/ERP5SyncML/XMLSyncUtils.py index 193d3efade..a991b6ea50 100644 --- a/product/ERP5SyncML/XMLSyncUtils.py +++ b/product/ERP5SyncML/XMLSyncUtils.py @@ -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 -- 2.30.9