summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Nichols <tmnichols@gmail.com>2010-07-12 12:25:55 -0400
committerTom Nichols <tmnichols@gmail.com>2010-07-12 12:25:55 -0400
commit92a5ac2ba9e777e8f6bb4736f10711c687034ef1 (patch)
treeff73e50cd2d63ce1e18eb698920c48a194ee4f5d
parent02ca5f0e420ab4e99003b87407198209d1cedc50 (diff)
downloadslixmpp-92a5ac2ba9e777e8f6bb4736f10711c687034ef1.tar.gz
slixmpp-92a5ac2ba9e777e8f6bb4736f10711c687034ef1.tar.bz2
slixmpp-92a5ac2ba9e777e8f6bb4736f10711c687034ef1.tar.xz
slixmpp-92a5ac2ba9e777e8f6bb4736f10711c687034ef1.zip
removed unused imports and fixed log msg
-rwxr-xr-xsleekxmpp/componentxmpp.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/sleekxmpp/componentxmpp.py b/sleekxmpp/componentxmpp.py
index de125814..1ff62cd3 100755
--- a/sleekxmpp/componentxmpp.py
+++ b/sleekxmpp/componentxmpp.py
@@ -12,21 +12,11 @@ from . basexmpp import basexmpp
from xml.etree import cElementTree as ET
from . xmlstream.xmlstream import XMLStream
-from . xmlstream.xmlstream import RestartStream
-from . xmlstream.matcher.xmlmask import MatchXMLMask
from . xmlstream.matcher.xpath import MatchXPath
-from . xmlstream.matcher.many import MatchMany
from . xmlstream.handler.callback import Callback
-from . xmlstream.stanzabase import StanzaBase
from . xmlstream import xmlstream as xmlstreammod
-import time
import logging
-import base64
import sys
-import random
-import copy
-from . import plugins
-from . import stanza
import hashlib
srvsupport = True
try:
@@ -58,7 +48,7 @@ class ComponentXMPP(basexmpp, XMLStream):
if key in self.plugin:
return self.plugin[key]
else:
- logging.warning("""Plugin "%s" is not loaded.""" % key)
+ logging.warning("Plugin '%s' is not loaded.", key)
return False
def get(self, key, default):