From 2c96f8ded8052efdba004b9a1f221fe17e99151f 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@1671499 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/python/qpid/client.py | 1 + 1 file changed, 1 insertion(+) 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() -- cgit v1.2.1