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/08/11 13:41:59 UTC
svn commit: r984382 - /qpid/trunk/qpid/python/qpid/delegates.py
Author: rhs
Date: Wed Aug 11 11:41:59 2010
New Revision: 984382
URL: http://svn.apache.org/viewvc?rev=984382&view=rev
Log:
default sasl service to qpidd
Modified:
qpid/trunk/qpid/python/qpid/delegates.py
Modified: qpid/trunk/qpid/python/qpid/delegates.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/python/qpid/delegates.py?rev=984382&r1=984381&r2=984382&view=diff
==============================================================================
--- qpid/trunk/qpid/python/qpid/delegates.py (original)
+++ qpid/trunk/qpid/python/qpid/delegates.py Wed Aug 11 11:41:59 2010
@@ -177,8 +177,7 @@ class Client(Delegate):
self.sasl.setAttr("username", str(username))
if password and len(password) > 0:
self.sasl.setAttr("password", str(password))
- if "service" in kwargs:
- self.sasl.setAttr("service", str(kwargs["service"]))
+ self.sasl.setAttr("service", str(kwargs.get("service", "qpidd")))
if "host" in kwargs:
self.sasl.setAttr("host", str(kwargs["host"]))
if "min_ssf" in kwargs:
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org