Commit 9447d53d authored by Sebastien Robin's avatar Sebastien Robin

corrected a loop over non sequence commited today


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@744 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent af766075
......@@ -695,8 +695,8 @@ class SynchronizationTool( UniqueObject, SimpleItem,
xml = result['xml']
xml = self.sendResponse(xml=xml,domain=publication,send=0)
return xml
for subscription in self.getSubscriptionList() and subscription.getId()==sync_id:
if subscription.getSubscriptionUrl()==url:
for subscription in self.getSubscriptionList():
if subscription.getSubscriptionUrl()==url and subscription.getId()==sync_id:
result = self.activate(activity='RAMQueue').SubSync(sync_id,xml)
#result = self.SubSync(sync_id,xml)
......
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