summaryrefslogtreecommitdiff
path: root/python/qpid
diff options
context:
space:
mode:
Diffstat (limited to 'python/qpid')
-rw-r--r--python/qpid/driver.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/qpid/driver.py b/python/qpid/driver.py
index ccef148c4d..e124cfaaed 100644
--- a/python/qpid/driver.py
+++ b/python/qpid/driver.py
@@ -588,9 +588,9 @@ class Driver:
"create": POLICIES,
"delete": POLICIES,
"assert": POLICIES,
- "type": Types(basestring),
+ "type": Values("queue", "topic"),
"node-properties": Map({
- "type": Values("queue", "topic"),
+ "type": Types(basestring),
"durable": Types(bool),
"x-properties": Map({
"type": Types(basestring),