Commit 074f62fd authored by Nicolas Delaby's avatar Nicolas Delaby

fix bug introduce by recent changes

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14960 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 55c54860
...@@ -913,9 +913,11 @@ class SynchronizationTool( SubscriptionSynchronization, ...@@ -913,9 +913,11 @@ class SynchronizationTool( SubscriptionSynchronization,
self.activate(activity='RAMQueue').sendHttpResponse(to_url=to_url, self.activate(activity='RAMQueue').sendHttpResponse(to_url=to_url,
sync_id=sync_id, xml=xml, domain=domain) sync_id=sync_id, xml=xml, domain=domain)
LOG('sendHttpResponse, socket ERROR:',0,msg) LOG('sendHttpResponse, socket ERROR:',0,msg)
LOG('sendHttpResponse, url,data',0,(url, data))
return return
except urllib2.URLError, msg: except urllib2.URLError, msg:
LOG("sendHttpResponse, can't open url %s :" % to_url, 0, msg) LOG("sendHttpResponse, can't open url %s :" % to_url, 0, msg)
LOG('sendHttpResponse, to_url,data',0,(to_url, data))
return return
...@@ -999,7 +1001,7 @@ class SynchronizationTool( SubscriptionSynchronization, ...@@ -999,7 +1001,7 @@ class SynchronizationTool( SubscriptionSynchronization,
for publication in self.getPublicationList(): for publication in self.getPublicationList():
if publication.getPublicationUrl()==url and \ if publication.getPublicationUrl()==url and \
publication.getTitle()==sync_id: publication.getTitle()==sync_id:
result = self.PubSync(sync_id,xml) result = self.PubSync(publication,xml)
# Then encrypt the message # Then encrypt the message
xml = result['xml'] xml = result['xml']
#must be commented because this method is alredy called #must be commented because this method is alredy called
......
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