From 64dec82bb66584f7355ce355c000bb1903a38cda Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Wed, 27 Dec 2006 06:09:15 +0000 Subject: [PATCH] readd something, unless there is a reason it got removed in [7706] --- src/common/xmpp/dispatcher_nb.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/xmpp/dispatcher_nb.py b/src/common/xmpp/dispatcher_nb.py index 9f05282f1..30eb811b0 100644 --- a/src/common/xmpp/dispatcher_nb.py +++ b/src/common/xmpp/dispatcher_nb.py @@ -135,6 +135,7 @@ class Dispatcher(PlugIn): self._owner.Connection.disconnect() return 0 except ExpatError: + sys.exc_clear() self.DEBUG('Invalid XML received from server. Forcing disconnect.', 'error') self._owner.Connection.pollend() return 0