summaryrefslogtreecommitdiff
path: root/python/qpid/peer.py
diff options
context:
space:
mode:
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):