summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0045.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-11-19 12:07:57 -0800
committerLance Stout <lancestout@gmail.com>2011-11-19 12:07:57 -0800
commit429c94d6a90b6f2ae35fa158e7abe04814edd5ef (patch)
tree428733bfda4e01acb0bba4f7e75e8d25c83e3862 /sleekxmpp/plugins/xep_0045.py
parentdeb52ad3502a94f91ef5400bf5b7605b8e151f50 (diff)
downloadslixmpp-429c94d6a90b6f2ae35fa158e7abe04814edd5ef.tar.gz
slixmpp-429c94d6a90b6f2ae35fa158e7abe04814edd5ef.tar.bz2
slixmpp-429c94d6a90b6f2ae35fa158e7abe04814edd5ef.tar.xz
slixmpp-429c94d6a90b6f2ae35fa158e7abe04814edd5ef.zip
Tidy up logging calls.
Diffstat (limited to 'sleekxmpp/plugins/xep_0045.py')
-rw-r--r--sleekxmpp/plugins/xep_0045.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0045.py b/sleekxmpp/plugins/xep_0045.py
index c037297e..ab3f750a 100644
--- a/sleekxmpp/plugins/xep_0045.py
+++ b/sleekxmpp/plugins/xep_0045.py
@@ -127,7 +127,7 @@ class xep_0045(base.base_plugin):
def handle_groupchat_invite(self, inv):
""" Handle an invite into a muc.
"""
- logging.debug("MUC invite to %s from %s: %s" , inv['from'], inv["from"], inv)
+ logging.debug("MUC invite to %s from %s: %s", inv['from'], inv["from"], inv)
if inv['from'] not in self.rooms.keys():
self.xmpp.event("groupchat_invite", inv)
@@ -149,7 +149,7 @@ class xep_0045(base.base_plugin):
if entry['nick'] not in self.rooms[entry['room']]:
got_online = True
self.rooms[entry['room']][entry['nick']] = entry
- log.debug("MUC presence from %s/%s : %s" , entry['room'],entry['nick'], entry)
+ log.debug("MUC presence from %s/%s : %s", entry['room'],entry['nick'], entry)
self.xmpp.event("groupchat_presence", pr)
self.xmpp.event("muc::%s::presence" % entry['room'], pr)
if got_offline: