folder: IMAP: display error message before starting next try
Fetching messages is tried more than once. Display the error message at correct time. Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
@ -477,7 +477,6 @@ class IMAPServer(object):
|
||||
# Try to find one that previously belonged to this thread
|
||||
# as an optimization. Start from the back since that's where
|
||||
# they're popped on.
|
||||
imapobj = None
|
||||
for i in range(len(self.availableconnections) - 1, -1, -1):
|
||||
tryobj = self.availableconnections[i]
|
||||
if self.lastowner[tryobj] == curThread.ident:
|
||||
|
Reference in New Issue
Block a user