Commit f3eb09bf authored by Sebastien Robin's avatar Sebastien Robin

corrected typo error when we modify a subscription


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1256 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7596fbda
......@@ -219,7 +219,7 @@ class SynchronizationTool( SubscriptionSynchronization, PublicationSynchronizati
"""
modify a subscription
"""
pub = self.getSubscription(title)
sub = self.getSubscription(title)
sub.setTitle(title)
sub.setPublicationUrl(publication_url)
sub.setDestinationPath(destination_path)
......@@ -695,6 +695,7 @@ class SynchronizationTool( SubscriptionSynchronization, PublicationSynchronizati
return None
# we will send an http response
domain = aq_base(domain)
LOG('sendResponse, will start sendHttpResponse, xml',0,xml)
self.activate(activity='RAMQueue').sendHttpResponse(sync_id=sync_id,
to_url=to_url,
xml=xml, domain=domain)
......@@ -823,6 +824,7 @@ class SynchronizationTool( SubscriptionSynchronization, PublicationSynchronizati
commands.getstatusoutput('rm -f /tmp/%s.gz.gpg' % filename)
# Get the target and then find the corresponding publication or
# Subscription
LOG('readResponse, xml before parseSTring',0,text)
xml = parseString(text)
url = ''
for subnode in self.getElementNodeList(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