summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/mail
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-04-26 19:32:35 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2017-04-27 19:33:31 +0200
commit43931f3c8a5d4bbaf7f7986b3981d698d987d7a8 (patch)
treefe2fd24ff348240fefc012138f9af9c515c7d7c6 /src/leap/bitmask/mail
parent13760d78fba87570c91c0a2e702980d2ec45a0ed (diff)
[style] pep8 fixes
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 cc5d5df..3a1e8c1 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 45d0e39..b1d48cf 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))