summaryrefslogtreecommitdiff
path: root/qpid/python
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-08-09 09:03:42 +0000
committerGordon Sim <gsim@apache.org>2007-08-09 09:03:42 +0000
commit61bc423099806cdfb952dfd730989e11a8ce106e (patch)
treedc3ec506f0292736dc1a7e9cc5aebf00fe19ff25 /qpid/python
parent74ee3f7b1684c2db92e70ba42da0e6a6b657ae3c (diff)
downloadqpid-python-61bc423099806cdfb952dfd730989e11a8ce106e.tar.gz
Fixed syntax error in handling of timeouts.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@564154 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
-rw-r--r--qpid/python/qpid/peer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/python/qpid/peer.py b/qpid/python/qpid/peer.py
index 4a560fca5a..bbba94623d 100644
--- a/qpid/python/qpid/peer.py
+++ b/qpid/python/qpid/peer.py
@@ -318,7 +318,7 @@ class Channel:
if self.closed:
raise Closed(self.reason)
if not completed:
- raise close("Timed-out waiting for completion")
+ self.close("Timed-out waiting for completion")
except QueueClosed, e:
if self.closed: