Commit d8c3a371 authored by Nicolas Delaby's avatar Nicolas Delaby

Don t forget to send de preceding result

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15066 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4772011b
......@@ -690,7 +690,7 @@ class XMLSyncUtilsMixin(SyncCode):
actual xupdate on the signature.
"""
local_gid_list = []
syncml_data = ''
syncml_data = kw.get('syncml_data','')
result = {'finished':0}
if isinstance(remote_xml, str) or isinstance(remote_xml, unicode):
remote_xml = Parse(remote_xml)
......@@ -1343,8 +1343,9 @@ class XMLSyncUtils(XMLSyncUtilsMixin):
subscriber = self.unrestrictedTraverse(kw['subscriber_relative_url'])
conduit = subscriber.getConduit()
result = self.getSyncMLData(domain = domain, subscriber = subscriber,
conduit = conduit, max = 100, **kw)
conduit = conduit, max = 100, **kw)
syncml_data = result['syncml_data']
kw['syncml_data'] = syncml_data
finished = result['finished']
if not finished:
self.activate().SyncModifActivity(**kw)
......
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