From 3d3fedc77421abc82b43399c699e28d97208b32d Mon Sep 17 00:00:00 2001 From: Keith Wall Date: Mon, 6 Apr 2015 09:17:52 +0000 Subject: 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 --- python/qpid/client.py | 1 + 1 file changed, 1 insertion(+) (limited to 'python') 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() -- cgit v1.2.1