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:
Rodolfo García Peñas (kix) 2020-10-31 15:37:50 +01:00
parent 352133dcc0
commit 0e90bcbf38

View File

@ -459,7 +459,7 @@ class IMAPRepository(BaseRepository):
if result != 'OK':
raise OfflineImapError("Could not list the folders for"
" repository %s. Server responded: %s" %
(self.name, self, str(listresult)),
(self.name, str(listresult)),
OfflineImapError.ERROR.FOLDER)
finally:
self.imapserver.releaseconnection(imapobj)