[Erp5-report] r15066 - /erp5/trunk/products/ERP5SyncML/XMLSyncUtils.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jun 29 11:16:43 CEST 2007


Author: nicolas
Date: Fri Jun 29 11:16:43 2007
New Revision: 15066

URL: http://svn.erp5.org?rev=15066&view=rev
Log:
Don t forget to send de preceding result

Modified:
    erp5/trunk/products/ERP5SyncML/XMLSyncUtils.py

Modified: erp5/trunk/products/ERP5SyncML/XMLSyncUtils.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5SyncML/XMLSyncUtils.py?rev=15066&r1=15065&r2=15066&view=diff
==============================================================================
--- erp5/trunk/products/ERP5SyncML/XMLSyncUtils.py (original)
+++ erp5/trunk/products/ERP5SyncML/XMLSyncUtils.py Fri Jun 29 11:16:43 2007
@@ -690,7 +690,7 @@
     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 @@
     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)




More information about the Erp5-report mailing list