diff options
author | Lance Stout <lancestout@gmail.com> | 2012-02-17 14:59:56 -0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-02-17 14:59:56 -0800 |
commit | 7d74a7b0271c709e80f1c25e67a57dcc98d5280a (patch) | |
tree | f1cd5d6130c8a60d943833eba36ca4c6d600e5cb /sleekxmpp/features/feature_session | |
parent | 9d5eb864d1a370a32f933a77b48363950542c759 (diff) | |
download | slixmpp-7d74a7b0271c709e80f1c25e67a57dcc98d5280a.tar.gz slixmpp-7d74a7b0271c709e80f1c25e67a57dcc98d5280a.tar.bz2 slixmpp-7d74a7b0271c709e80f1c25e67a57dcc98d5280a.tar.xz slixmpp-7d74a7b0271c709e80f1c25e67a57dcc98d5280a.zip |
More extraneous import cleanup.
Diffstat (limited to 'sleekxmpp/features/feature_session')
-rw-r--r-- | sleekxmpp/features/feature_session/session.py | 4 | ||||
-rw-r--r-- | sleekxmpp/features/feature_session/stanza.py | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/sleekxmpp/features/feature_session/session.py b/sleekxmpp/features/feature_session/session.py index 0daec5da..f2314c2b 100644 --- a/sleekxmpp/features/feature_session/session.py +++ b/sleekxmpp/features/feature_session/session.py @@ -10,8 +10,6 @@ import logging from sleekxmpp.stanza import Iq, StreamFeatures from sleekxmpp.xmlstream import register_stanza_plugin -from sleekxmpp.xmlstream.matcher import * -from sleekxmpp.xmlstream.handler import * from sleekxmpp.plugins.base import base_plugin from sleekxmpp.features.feature_session import stanza @@ -46,7 +44,7 @@ class feature_session(base_plugin): iq = self.xmpp.Iq() iq['type'] = 'set' iq.enable('session') - response = iq.send(now=True) + iq.send(now=True) self.xmpp.features.add('session') diff --git a/sleekxmpp/features/feature_session/stanza.py b/sleekxmpp/features/feature_session/stanza.py index 40ea583d..94e949ee 100644 --- a/sleekxmpp/features/feature_session/stanza.py +++ b/sleekxmpp/features/feature_session/stanza.py @@ -6,8 +6,7 @@ See the file LICENSE for copying permission. """ -from sleekxmpp.stanza import Iq, StreamFeatures -from sleekxmpp.xmlstream import ElementBase, ET, register_stanza_plugin +from sleekxmpp.xmlstream import ElementBase class Session(ElementBase): |