summaryrefslogtreecommitdiff
path: root/qpid/python
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
commit35bff1a8ffa0dbad1e0823e23b7fae799a9a0f02 (patch)
tree8f15b2ca3f0106bf8b4d4e2404bf4b6611c84b9e /qpid/python
parent60305e272d3a942b9afb7ce58c8f243d18e6ae22 (diff)
downloadqpid-python-35bff1a8ffa0dbad1e0823e23b7fae799a9a0f02.tar.gz
corrected validation
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@902793 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
-rw-r--r--qpid/python/qpid/driver.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/python/qpid/driver.py b/qpid/python/qpid/driver.py
index ccef148c4d..e124cfaaed 100644
--- a/qpid/python/qpid/driver.py
+++ b/qpid/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),