diff options
| author | Gordon Sim <gsim@apache.org> | 2011-03-01 16:16:40 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2011-03-01 16:16:40 +0000 |
| commit | 386ae2730d21750cbd7e2e6fd6ddb8d9c0a62f29 (patch) | |
| tree | 0e4b7b01a574ce5aa0836f19918060930fdf069a /python/qpid/messaging | |
| parent | 3be8c91f6f50cf8f72d3bfab14ee1da6dcf25abc (diff) | |
| download | qpid-python-386ae2730d21750cbd7e2e6fd6ddb8d9c0a62f29.tar.gz | |
QPID-3063: test correct variable in check_close()
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1075876 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/messaging')
| -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 b8101b76e6..30c5850397 100644 --- a/python/qpid/messaging/endpoints.py +++ b/python/qpid/messaging/endpoints.py @@ -197,7 +197,7 @@ class Connection(Endpoint): return result def check_closed(self): - if self.closed: + if not self._connected: self._condition.gc() raise ConnectionClosed() |
