From 2c4fdf9d81d32dd5c319714a86d3ab9ab5a6664e Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 21 Feb 2007 16:49:27 +0000 Subject: Fixed bug in references where map wasn't qualified in close Attach reference to transfer, as it will be deleted on close Altered tests to get reference from the message on the queue rather than looking them up from channel as they are already gone there git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@510096 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid/reference.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/qpid/reference.py') diff --git a/python/qpid/reference.py b/python/qpid/reference.py index d357560390..48ecb67656 100644 --- a/python/qpid/reference.py +++ b/python/qpid/reference.py @@ -111,7 +111,7 @@ class References: self.get(id).close() self.lock.acquire() try: - del map[id] + self.map.pop(id) finally: self.lock.release() -- cgit v1.2.1