summaryrefslogtreecommitdiff
path: root/python/qpid/peer.py
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2010-01-21 12:05:43 +0000
committerRafael H. Schloming <rhs@apache.org>2010-01-21 12:05:43 +0000
commit1aaba52bd281fbc64edad8c857ee6c972ae7796f (patch)
tree6cd8c45db4313c26427c9f4da68dbd8acb735918 /python/qpid/peer.py
parentb65797c5d8cb8a026c5f171bbbeff8afc321d2d7 (diff)
downloadqpid-python-1aaba52bd281fbc64edad8c857ee6c972ae7796f.tar.gz
removed imports so that the old spec doesn't need to be parsed
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901666 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/peer.py')
-rw-r--r--python/qpid/peer.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/qpid/peer.py b/python/qpid/peer.py
index 2bc9844351..95055cc014 100644
--- a/python/qpid/peer.py
+++ b/python/qpid/peer.py
@@ -31,6 +31,7 @@ from queue import Queue, Closed as QueueClosed
from content import Content
from cStringIO import StringIO
from time import time
+from exceptions import Closed
class Sequence:
@@ -173,8 +174,6 @@ class Responder:
frame = Response(self.sequence.next(), request.id, batch, method)
self.write(frame)
-class Closed(Exception): pass
-
class Channel:
def __init__(self, id, outgoing, spec):