From ac1142c3e7a3e07f13c256c0038dc044ad594b0c 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@1613129 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/python/qpid/messaging/driver.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'qpid/python') diff --git a/qpid/python/qpid/messaging/driver.py b/qpid/python/qpid/messaging/driver.py index 6110befc69..3487e4b4ba 100644 --- a/qpid/python/qpid/messaging/driver.py +++ b/qpid/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