[PATCH 3/4] folder: IMAP: fix wrong comment
Nicolas Sebrecht
nicolas.s-dev at laposte.net
Tue Jun 28 23:04:46 BST 2016
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev at laposte.net>
---
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 5b76405..917c17f 100644
--- a/offlineimap/folder/IMAP.py
+++ b/offlineimap/folder/IMAP.py
@@ -291,7 +291,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
@@ -682,7 +682,6 @@ class IMAPFolder(BaseFolder):
"""Fetches data from IMAP server.
Arguments:
- - imapobj: IMAPlib object
- uids: message UIDS
- retry_num: number of retries to make
@@ -694,7 +693,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:
--
2.7.4
More information about the OfflineIMAP-project
mailing list