summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/gmail_notify.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/gmail_notify.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/gmail_notify.py')
-rw-r--r--sleekxmpp/plugins/gmail_notify.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/gmail_notify.py b/sleekxmpp/plugins/gmail_notify.py
index f6391ac6..fc97a2ab 100644
--- a/sleekxmpp/plugins/gmail_notify.py
+++ b/sleekxmpp/plugins/gmail_notify.py
@@ -121,7 +121,7 @@ class gmail_notify(base.base_plugin):
def handle_gmail(self, iq):
mailbox = iq['mailbox']
approx = ' approximately' if mailbox['estimated'] else ''
- log.info('Gmail: Received%s %s emails' , approx, mailbox['total-matched'])
+ log.info('Gmail: Received%s %s emails', approx, mailbox['total-matched'])
self.last_result_time = mailbox['result-time']
self.xmpp.event('gmail_messages', iq)
@@ -140,7 +140,7 @@ class gmail_notify(base.base_plugin):
if query is None:
log.info("Gmail: Checking for new emails")
else:
- log.info('Gmail: Searching for emails matching: "%s"' , query)
+ log.info('Gmail: Searching for emails matching: "%s"', query)
iq = self.xmpp.Iq()
iq['type'] = 'get'
iq['to'] = self.xmpp.boundjid.bare