summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2010-08-11 11:41:59 +0000
committerRafael H. Schloming <rhs@apache.org>2010-08-11 11:41:59 +0000
commitda951f4e32e43765b8e12e2dd3bb1ef5d26c78a9 (patch)
treef970be837be8425c02af277a9e2a3727dfed591a /python
parent2056eddb2ea41d155e032e7ccddd3378c99beb01 (diff)
downloadqpid-python-da951f4e32e43765b8e12e2dd3bb1ef5d26c78a9.tar.gz
default sasl service to qpidd
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@984382 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python')
-rw-r--r--python/qpid/delegates.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/qpid/delegates.py b/python/qpid/delegates.py
index 5c1c8addd1..8dbdc37564 100644
--- a/python/qpid/delegates.py
+++ b/python/qpid/delegates.py
@@ -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: