diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2010-01-27 12:40:30 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2010-01-27 12:40:30 +0000 |
| commit | da33c63ff5c02641c3ecdd26b740cda1d12da120 (patch) | |
| tree | 5e27fe92889b8f8a26dae820c7aaa1ccd56b3c28 /qpid/python | |
| parent | 628ba489870e8c2ac46b4cc784a9487b2abb7bff (diff) | |
| download | qpid-python-da33c63ff5c02641c3ecdd26b740cda1d12da120.tar.gz | |
changed mechanisms from string to list
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@903625 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
| -rw-r--r-- | qpid/python/qpid/driver.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/python/qpid/driver.py b/qpid/python/qpid/driver.py index 0e5b79bc49..d99ce9d052 100644 --- a/qpid/python/qpid/driver.py +++ b/qpid/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)) |
