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): ...@@ -690,7 +690,7 @@ class XMLSyncUtilsMixin(SyncCode):
actual xupdate on the signature. actual xupdate on the signature.
""" """
local_gid_list = [] local_gid_list = []
syncml_data = '' syncml_data = kw.get('syncml_data','')
result = {'finished':0} result = {'finished':0}
if isinstance(remote_xml, str) or isinstance(remote_xml, unicode): if isinstance(remote_xml, str) or isinstance(remote_xml, unicode):
remote_xml = Parse(remote_xml) remote_xml = Parse(remote_xml)
...@@ -1345,6 +1345,7 @@ class XMLSyncUtils(XMLSyncUtilsMixin): ...@@ -1345,6 +1345,7 @@ class XMLSyncUtils(XMLSyncUtilsMixin):
result = self.getSyncMLData(domain = domain, subscriber = subscriber, result = self.getSyncMLData(domain = domain, subscriber = subscriber,
conduit = conduit, max = 100, **kw) conduit = conduit, max = 100, **kw)
syncml_data = result['syncml_data'] syncml_data = result['syncml_data']
kw['syncml_data'] = syncml_data
finished = result['finished'] finished = result['finished']
if not finished: if not finished:
self.activate().SyncModifActivity(**kw) 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