| commit | 298189bb1a0062807c8f4b260c29d0409c53e4b1 | [log] [tgz] |
|---|---|---|
| author | Rafael H. Schloming <rhs@apache.org> | Mon Jun 28 11:35:59 2010 +0000 |
| committer | Rafael H. Schloming <rhs@apache.org> | Mon Jun 28 11:35:59 2010 +0000 |
| tree | ffa17dcf7c91c4027011e6a2161222d6ad1aea08 | |
| parent | b6be83b501bd0f2610da9f6a38316328a65e9d81 [diff] |
fix mangling for addresses that are None
diff --git a/qpid/messaging/endpoints.py b/qpid/messaging/endpoints.py index 8bddc96..62423ca 100644 --- a/qpid/messaging/endpoints.py +++ b/qpid/messaging/endpoints.py
@@ -710,7 +710,7 @@ self.connection._remove_session(self) def _mangle(addr): - if addr.startswith("#"): + if addr and addr.startswith("#"): return str(uuid4()) + addr else: return addr