summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-02-16 07:25:44 -0800
committerLance Stout <lancestout@gmail.com>2012-02-16 07:25:44 -0800
commitfb2582e53bf0e8f1a3ad5273becf0c12a76d121f (patch)
tree3835c8ade6cad543b4ed597f7341fcaf58246619
parentd80761311720263521a115ce4fc5c377e0b296d1 (diff)
downloadslixmpp-fb2582e53bf0e8f1a3ad5273becf0c12a76d121f.tar.gz
slixmpp-fb2582e53bf0e8f1a3ad5273becf0c12a76d121f.tar.bz2
slixmpp-fb2582e53bf0e8f1a3ad5273becf0c12a76d121f.tar.xz
slixmpp-fb2582e53bf0e8f1a3ad5273becf0c12a76d121f.zip
Fix fixing remove_stanza()
Fixes issue #146
-rw-r--r--sleekxmpp/xmlstream/xmlstream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py
index d5a7e827..46ff02bb 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.