From fb2582e53bf0e8f1a3ad5273becf0c12a76d121f Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Thu, 16 Feb 2012 07:25:44 -0800 Subject: [PATCH] Fix fixing remove_stanza() Fixes issue #146 --- sleekxmpp/xmlstream/xmlstream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py index d5a7e82..46ff02b 100644 --- a/sleekxmpp/xmlstream/xmlstream.py +++ b/sleekxmpp/xmlstream/xmlstream.py @@ -771,7 +771,7 @@ class XMLStream(object): stanza objects, but may still be processed using handlers and matchers. """ - del self.__root_stanza.remove(stanza_class) + self.__root_stanza.remove(stanza_class) def add_filter(self, mode, handler, order=None): """Add a filter for incoming or outgoing stanzas.