More import cleanup based on pyflakes.

This commit is contained in:
Lance Stout 2012-02-18 11:40:34 -08:00
parent 676324805e
commit 7cdedb2ec0
8 changed files with 6 additions and 13 deletions

View file

@ -6,7 +6,7 @@
See the file LICENSE for copying permission.
"""
from sleekxmpp.xmlstream import ElementBase, ET, register_stanza_plugin
from sleekxmpp.xmlstream import ElementBase, ET
class Error(ElementBase):

View file

@ -6,7 +6,6 @@
See the file LICENSE for copying permission.
"""
from sleekxmpp.stanza import Error
from sleekxmpp.stanza.rootstanza import RootStanza
from sleekxmpp.xmlstream import StanzaBase, ET
from sleekxmpp.xmlstream.handler import Waiter, Callback

View file

@ -6,9 +6,8 @@
See the file LICENSE for copying permission.
"""
from sleekxmpp.stanza import Error
from sleekxmpp.stanza.rootstanza import RootStanza
from sleekxmpp.xmlstream import StanzaBase, ET
from sleekxmpp.xmlstream import StanzaBase
class Message(RootStanza):

View file

@ -7,7 +7,7 @@
"""
from sleekxmpp.stanza import Message, Presence
from sleekxmpp.xmlstream import ElementBase, ET, register_stanza_plugin
from sleekxmpp.xmlstream import ElementBase, register_stanza_plugin
class Nick(ElementBase):

View file

@ -6,9 +6,8 @@
See the file LICENSE for copying permission.
"""
from sleekxmpp.stanza import Error
from sleekxmpp.stanza.rootstanza import RootStanza
from sleekxmpp.xmlstream import StanzaBase, ET
from sleekxmpp.xmlstream import StanzaBase
class Presence(RootStanza):

View file

@ -7,8 +7,6 @@
"""
import logging
import traceback
import sys
from sleekxmpp.exceptions import XMPPError, IqError, IqTimeout
from sleekxmpp.stanza import Error

View file

@ -7,8 +7,7 @@
"""
from sleekxmpp.stanza.error import Error
from sleekxmpp.xmlstream import StanzaBase, ElementBase, ET
from sleekxmpp.xmlstream import register_stanza_plugin
from sleekxmpp.xmlstream import StanzaBase
class StreamError(Error, StanzaBase):

View file

@ -6,8 +6,7 @@
See the file LICENSE for copying permission.
"""
from sleekxmpp.xmlstream import ElementBase, StanzaBase, ET
from sleekxmpp.xmlstream import register_stanza_plugin
from sleekxmpp.xmlstream import StanzaBase
class StreamFeatures(StanzaBase):