Maildir: OfflineImapError is missing the severity argument
Github-ref: https://github.com/OfflineIMAP/offlineimap/issues/350 Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
1a96d588d5
commit
59f5da5e9e
@ -462,7 +462,8 @@ class MaildirFolder(BaseFolder):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
if not uid in self.messagelist:
|
if not uid in self.messagelist:
|
||||||
raise OfflineImapError("Cannot change unknown Maildir UID %s"% uid)
|
raise OfflineImapError("Cannot change unknown Maildir UID %s"% uid,
|
||||||
|
OfflineImapError.ERROR.MESSAGE)
|
||||||
if uid == new_uid: return
|
if uid == new_uid: return
|
||||||
|
|
||||||
oldfilename = self.messagelist[uid]['filename']
|
oldfilename = self.messagelist[uid]['filename']
|
||||||
|
Loading…
Reference in New Issue
Block a user