From 43931f3c8a5d4bbaf7f7986b3981d698d987d7a8 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Wed, 26 Apr 2017 19:32:35 +0200 Subject: [style] pep8 fixes --- src/leap/bitmask/mail/imap/mailbox.py | 5 +++-- src/leap/bitmask/mail/incoming/service.py | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src/leap/bitmask/mail') 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)) -- cgit v1.2.3