commit | 62940300ae44546de1fefa7ccab5019a98ad352b | [log] [tgz] |
---|---|---|
author | Pavel Moravec <pmoravec@apache.org> | Thu Jun 26 17:00:04 2014 +0000 |
committer | Pavel Moravec <pmoravec@apache.org> | Thu Jun 26 17:00:04 2014 +0000 |
tree | 9be8c240532af417690f383fbf73cd407d390344 | |
parent | 046fb4fd495fdd94bb8c4fa08499fb9813a51ebd [diff] |
[QPID-5852]: [Python client] connection.opened() returns True after unsuccessful connection
diff --git a/qpid/messaging/endpoints.py b/qpid/messaging/endpoints.py index a1d1af1..eb4c196 100644 --- a/qpid/messaging/endpoints.py +++ b/qpid/messaging/endpoints.py
@@ -218,6 +218,9 @@ raised this time but won't block future calls """ self.error = None + raise e + + self.close() raise e def get_error(self):