summaryrefslogtreecommitdiff
path: root/python/qpid/driver.py
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2010-01-27 12:40:30 +0000
committerRafael H. Schloming <rhs@apache.org>2010-01-27 12:40:30 +0000
commit6c6128ed113f349b76a70a257b1a7992c164d60c (patch)
tree3472f98506b50a29a29aa73b44f8dab9e9029037 /python/qpid/driver.py
parent4206b909d3248fd5cde971fb44c7282bc1f5ba31 (diff)
downloadqpid-python-6c6128ed113f349b76a70a257b1a7992c164d60c.tar.gz
changed mechanisms from string to list
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903625 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/driver.py')
-rw-r--r--python/qpid/driver.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/qpid/driver.py b/python/qpid/driver.py
index 0e5b79bc49..d99ce9d052 100644
--- a/python/qpid/driver.py
+++ b/python/qpid/driver.py
@@ -322,7 +322,8 @@ class Driver:
def do_connection_start(self, start):
if self.connection.mechanisms:
- mechs = [m for m in start.mechanisms if m in self.connection.mechanisms]
+ permitted = self.connection.mechanisms.split()
+ mechs = [m for m in start.mechanisms if m in permitted]
else:
mechs = start.mechanisms
mech, initial = self._sasl.start(" ".join(mechs))