[backport] Fixed vhost name on Events rabbitmq backend

remotes/origin/enhancement/email-actions
Jesús Espino 2015-03-23 13:06:36 +01:00
parent 545b56d450
commit 97f25afcb3
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ def _make_rabbitmq_connection(url):
vhost = parse_result.path vhost = parse_result.path
return AmqpConnection(host=host, userid=user, return AmqpConnection(host=host, userid=user,
password=password, virtual_host=vhost) password=password, virtual_host=vhost[1:])
class EventsPushBackend(base.BaseEventsPushBackend): class EventsPushBackend(base.BaseEventsPushBackend):