diff options
author | Kali Kaneko <kali@leap.se> | 2015-08-04 12:18:50 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-08-04 12:18:50 -0400 |
commit | 5a97000032cf9cdb8dee5310126f6de11b09d942 (patch) | |
tree | ad4b6f576bcf488188cab873a9bc316c903daeba /src/leap/mail/imap/server.py | |
parent | 570bf35249b1271a9453d5970059e080f2947d17 (diff) |
[style] pep8 fixes + pep8 script
Diffstat (limited to 'src/leap/mail/imap/server.py')
-rw-r--r-- | src/leap/mail/imap/server.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/leap/mail/imap/server.py b/src/leap/mail/imap/server.py index 050521a..39f483f 100644 --- a/src/leap/mail/imap/server.py +++ b/src/leap/mail/imap/server.py @@ -158,11 +158,14 @@ class LEAPIMAPServer(imap4.IMAP4Server): else: mf = imap4.IMessageFile(msg, None) if mf is not None: - return imap4.FileProducer(mf.open()).beginProducing(self.transport) - return imap4.MessageProducer(msg, None, self._scheduler).beginProducing(self.transport) + return imap4.FileProducer( + mf.open()).beginProducing(self.transport) + return imap4.MessageProducer( + msg, None, self._scheduler).beginProducing(self.transport) else: - _w('BODY ' + imap4.collapseNestedLists([imap4.getBodyStructure(msg)])) + _w('BODY ' + + imap4.collapseNestedLists([imap4.getBodyStructure(msg)])) ################################################################## # |