diff options
author | Lance Stout <lancestout@gmail.com> | 2011-01-26 11:27:41 -0500 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-01-26 11:27:41 -0500 |
commit | 0c8a8314b2e70d4a82b1c199b7e5bc16b494e275 (patch) | |
tree | 2f8b2c35afe1882a8f0b5011d76980c6099b2fed /sleekxmpp/plugins/xep_0092/version.py | |
parent | 4e757c2b56e7c4ded0a3de9e49c550db36da72d2 (diff) | |
download | slixmpp-0c8a8314b2e70d4a82b1c199b7e5bc16b494e275.tar.gz slixmpp-0c8a8314b2e70d4a82b1c199b7e5bc16b494e275.tar.bz2 slixmpp-0c8a8314b2e70d4a82b1c199b7e5bc16b494e275.tar.xz slixmpp-0c8a8314b2e70d4a82b1c199b7e5bc16b494e275.zip |
Cleanup for stanzabase.
Use stanza.values instead of _get/set_stanza_values where used.
ElementBase stanzas can now use .tag
May use class method tag_name() for stanza classes.
ElementBase now has .clear() method.
Diffstat (limited to 'sleekxmpp/plugins/xep_0092/version.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0092/version.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0092/version.py b/sleekxmpp/plugins/xep_0092/version.py index f59f8819..fb3671e4 100644 --- a/sleekxmpp/plugins/xep_0092/version.py +++ b/sleekxmpp/plugins/xep_0092/version.py @@ -84,5 +84,5 @@ class xep_0092(base_plugin): result = iq.send() if result and result['type'] != 'error': - return result['software_version']._get_stanza_values() + return result['software_version'].values return False |