summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0030
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-12-30 20:50:15 -0500
committerLance Stout <lancestout@gmail.com>2011-12-30 20:50:15 -0500
commit1bb0b3886800ffcb442626b85b1af1ddb4eab0f6 (patch)
treee23dc29770b495f0c3e0bd4503b352d5d73cf92b /sleekxmpp/plugins/xep_0030
parent4df1641689da53e3f9c2e49ee3f0e5e92a7c4d06 (diff)
downloadslixmpp-1bb0b3886800ffcb442626b85b1af1ddb4eab0f6.tar.gz
slixmpp-1bb0b3886800ffcb442626b85b1af1ddb4eab0f6.tar.bz2
slixmpp-1bb0b3886800ffcb442626b85b1af1ddb4eab0f6.tar.xz
slixmpp-1bb0b3886800ffcb442626b85b1af1ddb4eab0f6.zip
Make the disco logs nicer.
Diffstat (limited to 'sleekxmpp/plugins/xep_0030')
-rw-r--r--sleekxmpp/plugins/xep_0030/disco.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/sleekxmpp/plugins/xep_0030/disco.py b/sleekxmpp/plugins/xep_0030/disco.py
index ccfee8b8..d99a7cad 100644
--- a/sleekxmpp/plugins/xep_0030/disco.py
+++ b/sleekxmpp/plugins/xep_0030/disco.py
@@ -693,7 +693,7 @@ class xep_0030(base_plugin):
iq.set_payload(items.xml)
iq.send()
elif iq['type'] == 'result':
- log.debug("Received disco items result from" + \
+ log.debug("Received disco items result from " + \
"%s to %s.", iq['from'], iq['to'])
self.xmpp.event('disco_items', iq)
@@ -714,15 +714,15 @@ class xep_0030(base_plugin):
if not info['node']:
if not info['identities']:
if self.xmpp.is_component:
- log.debug("No identity found for this entity." + \
+ log.debug("No identity found for this entity. " + \
"Using default component identity.")
info.add_identity('component', 'generic')
else:
- log.debug("No identity found for this entity." + \
+ log.debug("No identity found for this entity. " + \
"Using default client identity.")
info.add_identity('client', 'bot')
if not info['features']:
- log.debug("No features found for this entity." + \
+ log.debug("No features found for this entity. " + \
"Using default disco#info feature.")
info.add_feature(info.namespace)
return result