From 5f16eb633bf146c20f265b133ce02765e7341325 Mon Sep 17 00:00:00 2001 From: junglecow Date: Wed, 27 Dec 2006 18:57:30 +0000 Subject: [PATCH] Re-deleted exc_clear. Reason: - It's unnecessary - It confuses people See [7433] and #1575. This is an old workaround for psyco braindeadness, which we don't use anymore. If there's a reason this should stay in code, please document clearly, and re-add. Thanks. --- src/common/xmpp/dispatcher_nb.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/common/xmpp/dispatcher_nb.py b/src/common/xmpp/dispatcher_nb.py index 30eb811b0..9f05282f1 100644 --- a/src/common/xmpp/dispatcher_nb.py +++ b/src/common/xmpp/dispatcher_nb.py @@ -135,7 +135,6 @@ 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