[Erp5-report] r14960 - /erp5/trunk/products/ERP5SyncML/SynchronizationTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jun 25 21:08:03 CEST 2007


Author: nicolas
Date: Mon Jun 25 21:08:03 2007
New Revision: 14960

URL: http://svn.erp5.org?rev=14960&view=rev
Log:
fix bug introduce by recent changes

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

Modified: erp5/trunk/products/ERP5SyncML/SynchronizationTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5SyncML/SynchronizationTool.py?rev=14960&r1=14959&r2=14960&view=diff
==============================================================================
--- erp5/trunk/products/ERP5SyncML/SynchronizationTool.py (original)
+++ erp5/trunk/products/ERP5SyncML/SynchronizationTool.py Mon Jun 25 21:08:03 2007
@@ -913,9 +913,11 @@
       self.activate(activity='RAMQueue').sendHttpResponse(to_url=to_url, 
           sync_id=sync_id, xml=xml, domain=domain)
       LOG('sendHttpResponse, socket ERROR:',0,msg)
+      LOG('sendHttpResponse, url,data',0,(url, data))
       return
     except urllib2.URLError, msg:
       LOG("sendHttpResponse, can't open url %s :" % to_url, 0, msg)
+      LOG('sendHttpResponse, to_url,data',0,(to_url, data))
       return
 
 
@@ -999,7 +1001,7 @@
       for publication in self.getPublicationList():
         if publication.getPublicationUrl()==url and \
         publication.getTitle()==sync_id:
-          result = self.PubSync(sync_id,xml)
+          result = self.PubSync(publication,xml)
           # Then encrypt the message
           xml = result['xml']
           #must be commented because this method is alredy called




More information about the Erp5-report mailing list