You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2010/01/27 13:40:31 UTC
svn commit: r903625 - /qpid/trunk/qpid/python/qpid/driver.py
Author: rhs
Date: Wed Jan 27 12:40:30 2010
New Revision: 903625
URL: http://svn.apache.org/viewvc?rev=903625&view=rev
Log:
changed mechanisms from string to list
Modified:
qpid/trunk/qpid/python/qpid/driver.py
Modified: qpid/trunk/qpid/python/qpid/driver.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/python/qpid/driver.py?rev=903625&r1=903624&r2=903625&view=diff
==============================================================================
--- qpid/trunk/qpid/python/qpid/driver.py (original)
+++ qpid/trunk/qpid/python/qpid/driver.py Wed Jan 27 12:40:30 2010
@@ -322,7 +322,8 @@
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))
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org