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 | 47292282df67b7ad47580b7b54f6da8559bda92c (patch) | |
| tree | 2e51a50dfe79caf4ae08ee455b597db87b5f62a8 /qpid/python | |
| parent | 977394b730b98b425d41e33430d4af5eef865978 (diff) | |
| download | qpid-python-47292282df67b7ad47580b7b54f6da8559bda92c.tar.gz | |
fix mangling for addresses that are None
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@958547 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
| -rw-r--r-- | qpid/python/qpid/messaging/endpoints.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/python/qpid/messaging/endpoints.py b/qpid/python/qpid/messaging/endpoints.py index 8bddc96bc8..62423ca7d5 100644 --- a/qpid/python/qpid/messaging/endpoints.py +++ b/qpid/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 |
