From 86a482e032ed7fae1085b41cf637c5336b2cefb2 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Fri, 17 Feb 2012 11:40:51 -0800 Subject: [PATCH] Fix pyflakes complaints for XEP-0115 plugin. --- sleekxmpp/plugins/xep_0115/caps.py | 2 +- sleekxmpp/plugins/xep_0115/stanza.py | 2 +- 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__)