diff options
author | Lance Stout <lancestout@gmail.com> | 2012-02-17 11:40:51 -0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-02-17 11:40:51 -0800 |
commit | 86a482e032ed7fae1085b41cf637c5336b2cefb2 (patch) | |
tree | 2e8539f3ec85ceeb708de0a336d90b25e2ce30c4 /sleekxmpp/plugins/xep_0115 | |
parent | c43c7be86cafcc5bbea3bb943253e5c2c1162b1d (diff) | |
download | slixmpp-86a482e032ed7fae1085b41cf637c5336b2cefb2.tar.gz slixmpp-86a482e032ed7fae1085b41cf637c5336b2cefb2.tar.bz2 slixmpp-86a482e032ed7fae1085b41cf637c5336b2cefb2.tar.xz slixmpp-86a482e032ed7fae1085b41cf637c5336b2cefb2.zip |
Fix pyflakes complaints for XEP-0115 plugin.
Diffstat (limited to 'sleekxmpp/plugins/xep_0115')
-rw-r--r-- | sleekxmpp/plugins/xep_0115/caps.py | 2 | ||||
-rw-r--r-- | sleekxmpp/plugins/xep_0115/stanza.py | 2 | ||||
-rw-r--r-- | sleekxmpp/plugins/xep_0115/static.py | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/sleekxmpp/plugins/xep_0115/caps.py b/sleekxmpp/plugins/xep_0115/caps.py index 289bb8d1..1f3be4d6 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 af02949b..3e80b5cf 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 204181d5..a0a8fb23 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__) |