summaryrefslogtreecommitdiff
path: root/python/qpid
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2010-01-25 12:43:13 +0000
committerRafael H. Schloming <rhs@apache.org>2010-01-25 12:43:13 +0000
commit7f0869a9a00913f708d1359e54e42dc91f4b127c (patch)
tree9c0de26f596c2a3a451ef10966810e72d082319b /python/qpid
parentd121619f4389e2aee495f958d410f94870aa6349 (diff)
downloadqpid-python-7f0869a9a00913f708d1359e54e42dc91f4b127c.tar.gz
corrected validation
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@902793 13f79535-47bb-0310-9956-ffa450edef68
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),