diff --git a/sleekxmpp/plugins/xep_0115/caps.py b/sleekxmpp/plugins/xep_0115/caps.py index 289bb8d..1f3be4d 100644 --- a/sleekxmpp/plugins/xep_0115/caps.py +++ b/sleekxmpp/plugins/xep_0115/caps.py @@ -15,7 +15,7 @@ from sleekxmpp.stanza import StreamFeatures, Presence, Iq from sleekxmpp.xmlstream import register_stanza_plugin, JID from sleekxmpp.xmlstream.handler import Callback from sleekxmpp.xmlstream.matcher import StanzaPath -from sleekxmpp.exceptions import XMPPError, IqError, IqTimeout +from sleekxmpp.exceptions import XMPPError from sleekxmpp.plugins.base import base_plugin from sleekxmpp.plugins.xep_0115 import stanza, StaticCaps diff --git a/sleekxmpp/plugins/xep_0115/stanza.py b/sleekxmpp/plugins/xep_0115/stanza.py index af02949..3e80b5c 100644 --- a/sleekxmpp/plugins/xep_0115/stanza.py +++ b/sleekxmpp/plugins/xep_0115/stanza.py @@ -8,7 +8,7 @@ from __future__ import unicode_literals -from sleekxmpp.xmlstream import ElementBase, ET +from sleekxmpp.xmlstream import ElementBase class Capabilities(ElementBase): diff --git a/sleekxmpp/plugins/xep_0115/static.py b/sleekxmpp/plugins/xep_0115/static.py index 204181d..a0a8fb2 100644 --- a/sleekxmpp/plugins/xep_0115/static.py +++ b/sleekxmpp/plugins/xep_0115/static.py @@ -8,9 +8,8 @@ import logging -import sleekxmpp from sleekxmpp.xmlstream import JID -from sleekxmpp.plugins.xep_0030 import StaticDisco +from sleekxmpp.exceptions import IqError, IqTimeout log = logging.getLogger(__name__)