More import cleanups based on pyflakes results.

This commit is contained in:
Lance Stout 2012-02-17 14:41:31 -08:00
parent 86a482e032
commit 9d5eb864d1
3 changed files with 12 additions and 26 deletions

View file

@ -15,22 +15,21 @@
from __future__ import with_statement, unicode_literals from __future__ import with_statement, unicode_literals
import sys import sys
import copy
import logging import logging
import sleekxmpp import sleekxmpp
from sleekxmpp import plugins, roster from sleekxmpp import plugins, roster
from sleekxmpp.exceptions import IqError, IqTimeout from sleekxmpp.exceptions import IqError, IqTimeout
from sleekxmpp.stanza import Message, Presence, Iq, Error, StreamError from sleekxmpp.stanza import Message, Presence, Iq, StreamError
from sleekxmpp.stanza.roster import Roster from sleekxmpp.stanza.roster import Roster
from sleekxmpp.stanza.nick import Nick from sleekxmpp.stanza.nick import Nick
from sleekxmpp.stanza.htmlim import HTMLIM from sleekxmpp.stanza.htmlim import HTMLIM
from sleekxmpp.xmlstream import XMLStream, JID, tostring from sleekxmpp.xmlstream import XMLStream, JID
from sleekxmpp.xmlstream import ET, register_stanza_plugin from sleekxmpp.xmlstream import ET, register_stanza_plugin
from sleekxmpp.xmlstream.matcher import * from sleekxmpp.xmlstream.matcher import MatchXPath
from sleekxmpp.xmlstream.handler import * from sleekxmpp.xmlstream.handler import Callback
log = logging.getLogger(__name__) log = logging.getLogger(__name__)

View file

@ -15,22 +15,12 @@
from __future__ import absolute_import, unicode_literals from __future__ import absolute_import, unicode_literals
import logging import logging
import base64
import sys
import hashlib
import random
import threading
import sleekxmpp from sleekxmpp.stanza import StreamFeatures
from sleekxmpp import plugins
from sleekxmpp import stanza
from sleekxmpp import features
from sleekxmpp.basexmpp import BaseXMPP from sleekxmpp.basexmpp import BaseXMPP
from sleekxmpp.stanza import * from sleekxmpp.xmlstream import XMLStream
from sleekxmpp.xmlstream import XMLStream, RestartStream from sleekxmpp.xmlstream.matcher import MatchXPath
from sleekxmpp.xmlstream import StanzaBase, ET, register_stanza_plugin from sleekxmpp.xmlstream.handler import Callback
from sleekxmpp.xmlstream.matcher import *
from sleekxmpp.xmlstream.handler import *
# Flag indicating if DNS SRV records are available for use. # Flag indicating if DNS SRV records are available for use.
try: try:

View file

@ -15,17 +15,14 @@
from __future__ import absolute_import from __future__ import absolute_import
import logging import logging
import base64
import sys import sys
import hashlib import hashlib
from sleekxmpp import plugins
from sleekxmpp import stanza
from sleekxmpp.basexmpp import BaseXMPP from sleekxmpp.basexmpp import BaseXMPP
from sleekxmpp.xmlstream import XMLStream, RestartStream from sleekxmpp.xmlstream import XMLStream
from sleekxmpp.xmlstream import StanzaBase, ET from sleekxmpp.xmlstream import ET
from sleekxmpp.xmlstream.matcher import * from sleekxmpp.xmlstream.matcher import MatchXPath
from sleekxmpp.xmlstream.handler import * from sleekxmpp.xmlstream.handler import Callback
log = logging.getLogger(__name__) log = logging.getLogger(__name__)