diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2010-11-23 22:52:48 -0500 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2010-11-23 22:52:48 -0500 |
| commit | 217835b3adddedc9e8c501e8868d0440509ba1d5 (patch) | |
| tree | 87ca06cceaf5af8a6d18fb57b65143cb784fb123 /sleekxmpp/componentxmpp.py | |
| parent | a5b4d8b2d4cda356afddcdab4864d27e165237f7 (diff) | |
| download | alias-217835b3adddedc9e8c501e8868d0440509ba1d5.tar.gz | |
Update to latest version of sleekxmpp
this fixes the bug with service discovery
Diffstat (limited to 'sleekxmpp/componentxmpp.py')
| -rw-r--r-- | sleekxmpp/componentxmpp.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sleekxmpp/componentxmpp.py b/sleekxmpp/componentxmpp.py index 3fcb88d..ae58c5f 100644 --- a/sleekxmpp/componentxmpp.py +++ b/sleekxmpp/componentxmpp.py @@ -15,13 +15,16 @@ import hashlib from sleekxmpp import plugins from sleekxmpp import stanza -from sleekxmpp.basexmpp import BaseXMPP, SRV_SUPPORT +from sleekxmpp.basexmpp import BaseXMPP from sleekxmpp.xmlstream import XMLStream, RestartStream from sleekxmpp.xmlstream import StanzaBase, ET from sleekxmpp.xmlstream.matcher import * from sleekxmpp.xmlstream.handler import * +log = logging.getLogger(__name__) + + class ComponentXMPP(BaseXMPP): """ @@ -82,7 +85,7 @@ class ComponentXMPP(BaseXMPP): Overrides XMLStream.connect. """ - logging.debug("Connecting to %s:%s" % (self.server_host, + log.debug("Connecting to %s:%s" % (self.server_host, self.server_port)) return XMLStream.connect(self, self.server_host, self.server_port) |
