diff options
author | Kenneth Anthony Giusti <kgiusti@apache.org> | 2012-08-13 19:45:17 +0000 |
---|---|---|
committer | Kenneth Anthony Giusti <kgiusti@apache.org> | 2012-08-13 19:45:17 +0000 |
commit | c33ccb155c17ea807f82b43751ef137c4d9ba9c3 (patch) | |
tree | 4ebe22963f30084b0b29763361504c6b1157c974 | |
parent | 796d89efad125c4728402a2e61db6abeb9b6d524 (diff) | |
download | qpid-python-c33ccb155c17ea807f82b43751ef137c4d9ba9c3.tar.gz |
QPID-4227: accept different type for user id from qpid.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372567 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/extras/qmf/src/py/qmf/console.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qpid/extras/qmf/src/py/qmf/console.py b/qpid/extras/qmf/src/py/qmf/console.py index 90cc17d32b..af5d1da5ca 100644 --- a/qpid/extras/qmf/src/py/qmf/console.py +++ b/qpid/extras/qmf/src/py/qmf/console.py @@ -2443,6 +2443,8 @@ class Broker(Thread): uid = self.conn.user_id if uid.__class__ == tuple and len(uid) == 2: self.saslUser = uid[1] + elif type(uid) is str: + self.saslUser = uid; else: self.saslUser = None |