summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Wall <kwall@apache.org>2015-04-06 09:17:52 +0000
committerKeith Wall <kwall@apache.org>2015-04-06 09:17:52 +0000
commit2c96f8ded8052efdba004b9a1f221fe17e99151f (patch)
tree4e31c6f3354627cf9f14d1ca7447eef83571a5e7
parent4e512670d16c352c9ff403b8525fae51a2183243 (diff)
downloadqpid-python-2c96f8ded8052efdba004b9a1f221fe17e99151f.tar.gz
QPID-6474: [Python Client] 08..09 Prevent Client.close ending in exception if start has not been called
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1671499 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/python/qpid/client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/python/qpid/client.py b/qpid/python/qpid/client.py
index 1bb225e7d1..572eaaa076 100644
--- a/qpid/python/qpid/client.py
+++ b/qpid/python/qpid/client.py
@@ -62,6 +62,7 @@ class Client:
self.closed = False
self.reason = None
self.started = threading.Event()
+ self.peer = None
def wait(self):
self.started.wait()