summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/mail
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/mail')
-rw-r--r--src/leap/bitmask/mail/imap/mailbox.py5
-rw-r--r--src/leap/bitmask/mail/incoming/service.py5
2 files changed, 6 insertions, 4 deletions
diff --git a/src/leap/bitmask/mail/imap/mailbox.py b/src/leap/bitmask/mail/imap/mailbox.py
index cc5d5df6..3a1e8c10 100644
--- a/src/leap/bitmask/mail/imap/mailbox.py
+++ b/src/leap/bitmask/mail/imap/mailbox.py
@@ -427,8 +427,9 @@ class IMAPMailbox(object):
def log_num_msg(result):
exists, recent = tuple(result)
- self.log.debug("NOTIFY (%r): there are %s messages, %s recent" % (
- self.mbox_name, exists, recent))
+ self.log.debug(
+ 'NOTIFY (%r): there are %s messages, %s recent' % (
+ self.mbox_name, exists, recent))
return result
d = defer.gatherResults(d_list)
diff --git a/src/leap/bitmask/mail/incoming/service.py b/src/leap/bitmask/mail/incoming/service.py
index 45d0e398..b1d48cf4 100644
--- a/src/leap/bitmask/mail/incoming/service.py
+++ b/src/leap/bitmask/mail/incoming/service.py
@@ -281,8 +281,9 @@ class IncomingMail(Service):
deferreds = []
for index, doc in enumerate(doclist):
- self.log.debug("processing incoming message: %d of %d"
- % (index + 1, num_mails))
+ self.log.debug(
+ 'processing incoming message: %d of %d'
+ % (index + 1, num_mails))
emit_async(catalog.MAIL_MSG_PROCESSING, self._userid,
str(index), str(num_mails))