From 2ebccc4f3ab6e7813ac2179c8318163ffdd22cff Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Fri, 9 May 2008 18:40:13 +0000 Subject: QPID-1045: always notify incoming message queues of session closure and provide API for notifying listeners of closure; also preserve connection close code and report in errors git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@654907 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid/framer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'python/qpid/framer.py') diff --git a/python/qpid/framer.py b/python/qpid/framer.py index 78a29235cb..27ea3287f0 100644 --- a/python/qpid/framer.py +++ b/python/qpid/framer.py @@ -18,6 +18,7 @@ # import struct, socket +from exceptions import Closed from packer import Packer from threading import Lock from logging import getLogger @@ -66,8 +67,6 @@ class Frame: self.channel, self.payload) -class Closed(Exception): pass - class FramingError(Exception): pass class Framer(Packer): -- cgit v1.2.1