folder/Maildir.py changed not var in
This patch changes: if not var1 in var2 with if var1 not in var2
This commit is contained in:
parent
28910df6c2
commit
3d2692103f
@ -466,7 +466,7 @@ class MaildirFolder(BaseFolder):
|
||||
an efficient rename.
|
||||
"""
|
||||
|
||||
if not uid in self.messagelist:
|
||||
if uid not in self.messagelist:
|
||||
raise OfflineImapError("Cannot change unknown Maildir UID %s" % uid,
|
||||
OfflineImapError.ERROR.MESSAGE)
|
||||
if uid == new_uid: return
|
||||
|
Loading…
Reference in New Issue
Block a user