Fix fixing remove_stanza()

Fixes issue #146
This commit is contained in:
Lance Stout 2012-02-16 07:25:44 -08:00
parent d807613117
commit fb2582e53b

View file

@ -771,7 +771,7 @@ class XMLStream(object):
stanza objects, but may still be processed using handlers and stanza objects, but may still be processed using handlers and
matchers. matchers.
""" """
del self.__root_stanza.remove(stanza_class) self.__root_stanza.remove(stanza_class)
def add_filter(self, mode, handler, order=None): def add_filter(self, mode, handler, order=None):
"""Add a filter for incoming or outgoing stanzas. """Add a filter for incoming or outgoing stanzas.