diff options
author | Rafael H. Schloming <rhs@apache.org> | 2010-08-11 11:41:59 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2010-08-11 11:41:59 +0000 |
commit | 743495d8c68b40caefa22b8be8087555954ee5f6 (patch) | |
tree | f970be837be8425c02af277a9e2a3727dfed591a | |
parent | a1eaf3a3abf8fc22a235b4ca1ce902be2834b3d9 (diff) | |
download | qpid-python-743495d8c68b40caefa22b8be8087555954ee5f6.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
-rw-r--r-- | python/qpid/delegates.py | 3 |
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: |