From f0096391fc999a5ff8900681de63e1bb19ca5b44 Mon Sep 17 00:00:00 2001 From: Nicolas Sebrecht Date: Tue, 28 Jun 2016 19:15:07 +0200 Subject: [PATCH] folder: IMAP: fix wrong comment Signed-off-by: Nicolas Sebrecht --- offlineimap/folder/IMAP.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/offlineimap/folder/IMAP.py b/offlineimap/folder/IMAP.py index ffd776a..e5431f5 100644 --- a/offlineimap/folder/IMAP.py +++ b/offlineimap/folder/IMAP.py @@ -294,7 +294,7 @@ class IMAPFolder(BaseFolder): # in [0][1]. data = data[0][1].replace(CRLF, "\n") - if len(data)>200: + if len(data) > 200: dbg_output = "%s...%s"% (str(data)[:150], str(data)[-50:]) else: dbg_output = data @@ -688,7 +688,6 @@ class IMAPFolder(BaseFolder): """Fetches data from IMAP server. Arguments: - - imapobj: IMAPlib object - uids: message UIDS - retry_num: number of retries to make @@ -700,7 +699,7 @@ class IMAPFolder(BaseFolder): fails_left = retry_num # Retry on dropped connection. while fails_left: try: - imapobj.select(self.getfullname(), readonly = True) + imapobj.select(self.getfullname(), readonly=True) res_type, data = imapobj.uid('fetch', uids, query) break except imapobj.abort as e: