From 13183651f7b52bdff69866d2f05b2d3326dcd5ed Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 24 Jul 2014 13:48:22 +0000 Subject: QPID-5921: add missing clause to resolution logic for when only exchange exists but queue create was requested git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1613129 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid/messaging/driver.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'python') diff --git a/python/qpid/messaging/driver.py b/python/qpid/messaging/driver.py index 6110befc69..3487e4b4ba 100644 --- a/python/qpid/messaging/driver.py +++ b/python/qpid/messaging/driver.py @@ -1028,6 +1028,11 @@ class Engine: type, subtype = None, None else: type, subtype = "queue", None + elif not er.not_found: + if node_type == "queue" and force: + type, subtype = None, None + else: + type, subtype = "topic", er.type else: type, subtype = "topic", er.type if type is not None: -- cgit v1.2.1