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