summaryrefslogtreecommitdiff
path: root/python
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
commit3d3fedc77421abc82b43399c699e28d97208b32d (patch)
treefa233e140cd14bef448c513e9e3a520a2689b926 /python
parent253bf872eb3cf6627508c0ccb45544dfa5287fd5 (diff)
downloadqpid-python-3d3fedc77421abc82b43399c699e28d97208b32d.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/qpid@1671499 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python')
-rw-r--r--python/qpid/client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/qpid/client.py b/python/qpid/client.py
index 1bb225e7d1..572eaaa076 100644
--- a/python/qpid/client.py
+++ b/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()