From d96ca9c8ec51f83c5c51fcb08f0f748eec3ff11e Mon Sep 17 00:00:00 2001 From: Caduri Date: Wed, 21 Oct 2015 14:34:11 +0300 Subject: [PATCH] [Bug] exchange name contains chars that needs to be quoted --- messaging/rabbitmq_exchange.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messaging/rabbitmq_exchange.py b/messaging/rabbitmq_exchange.py index fb74298879b..728186385cb 100644 --- a/messaging/rabbitmq_exchange.py +++ b/messaging/rabbitmq_exchange.py @@ -133,7 +133,7 @@ def main(): module.params['login_host'], module.params['login_port'], urllib.quote(module.params['vhost'],''), - module.params['name'] + urllib.quote(module.params['name'],'') ) # Check if exchange already exists