IMAP.py too many arguments for string format
We need only two arguments, not three. We can remove the self argument.
This commit is contained in:
parent
352133dcc0
commit
0e90bcbf38
@ -459,7 +459,7 @@ class IMAPRepository(BaseRepository):
|
|||||||
if result != 'OK':
|
if result != 'OK':
|
||||||
raise OfflineImapError("Could not list the folders for"
|
raise OfflineImapError("Could not list the folders for"
|
||||||
" repository %s. Server responded: %s" %
|
" repository %s. Server responded: %s" %
|
||||||
(self.name, self, str(listresult)),
|
(self.name, str(listresult)),
|
||||||
OfflineImapError.ERROR.FOLDER)
|
OfflineImapError.ERROR.FOLDER)
|
||||||
finally:
|
finally:
|
||||||
self.imapserver.releaseconnection(imapobj)
|
self.imapserver.releaseconnection(imapobj)
|
||||||
|
Loading…
Reference in New Issue
Block a user