Commit dbd95609 authored by Nicolas Delaby's avatar Nicolas Delaby

Fix node name

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29397 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 733ff06f
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
......@@ -657,7 +658,7 @@ class ERP5Conduit(XMLSyncUtilsMixin):
else:
object_element = xml_copy.xpath('//syncml:object',
namespaces={'syncml':xml_copy.nsmap[xml_copy.prefix]})[0]
id_element = object_element.xpath('//syncml:object',
id_element = object_element.xpath('//syncml:id',
namespaces={'syncml':xml_copy.nsmap[xml_copy.prefix]})[0]
object_element.attrib['id'] = new_id
id_element.text = new_id
......
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