From 6c6128ed113f349b76a70a257b1a7992c164d60c Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Wed, 27 Jan 2010 12:40:30 +0000 Subject: changed mechanisms from string to list git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903625 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid/driver.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python') 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)) -- cgit v1.2.1