diff options
author | Lance Stout <lancestout@gmail.com> | 2012-02-16 07:02:19 -0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-02-16 07:02:19 -0800 |
commit | 6d922d00c38b608c2ae178738882fc00141bb301 (patch) | |
tree | d84d739db35d5e3e1399ec0d6cb2b20242f00560 /sleekxmpp | |
parent | 61ea84093b9e6c8da93a6f2e970fb25b32765723 (diff) | |
download | slixmpp-6d922d00c38b608c2ae178738882fc00141bb301.tar.gz slixmpp-6d922d00c38b608c2ae178738882fc00141bb301.tar.bz2 slixmpp-6d922d00c38b608c2ae178738882fc00141bb301.tar.xz slixmpp-6d922d00c38b608c2ae178738882fc00141bb301.zip |
Fix remove_stanza().
Fixes issue #146
Diffstat (limited to 'sleekxmpp')
-rw-r--r-- | sleekxmpp/xmlstream/xmlstream.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py index 8305a91b..9799c299 100644 --- a/sleekxmpp/xmlstream/xmlstream.py +++ b/sleekxmpp/xmlstream/xmlstream.py @@ -769,7 +769,7 @@ class XMLStream(object): stanza objects, but may still be processed using handlers and matchers. """ - del self.__root_stanza[stanza_class] + del self.__root_stanza.remove(stanza_class) def add_filter(self, mode, handler, order=None): """Add a filter for incoming or outgoing stanzas. |