summaryrefslogtreecommitdiff
path: root/qpid/python
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/python')
-rw-r--r--qpid/python/qpid/messaging/driver.py5
1 files changed, 5 insertions, 0 deletions
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: