diff options
author | Rafael H. Schloming <rhs@apache.org> | 2010-06-28 11:35:59 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2010-06-28 11:35:59 +0000 |
commit | d2740cdf01026d8c29be601c03ba2bdf0b9527ad (patch) | |
tree | e2282499f4e7172001bdc0f51927a978882eec9f /python | |
parent | 1ad4e43911c2db707619efb1c1f1b511ce401b9b (diff) | |
download | qpid-python-d2740cdf01026d8c29be601c03ba2bdf0b9527ad.tar.gz |
fix mangling for addresses that are None
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@958547 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python')
-rw-r--r-- | python/qpid/messaging/endpoints.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qpid/messaging/endpoints.py b/python/qpid/messaging/endpoints.py index 8bddc96bc8..62423ca7d5 100644 --- a/python/qpid/messaging/endpoints.py +++ b/python/qpid/messaging/endpoints.py @@ -710,7 +710,7 @@ class Session: self.connection._remove_session(self) def _mangle(addr): - if addr.startswith("#"): + if addr and addr.startswith("#"): return str(uuid4()) + addr else: return addr |