From 3d2692103f3b33dac9b251bac13ad7b39c52b288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Sun, 30 Aug 2020 13:42:09 +0200 Subject: [PATCH] folder/Maildir.py changed not var in This patch changes: if not var1 in var2 with if var1 not in var2 --- offlineimap/folder/Maildir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/offlineimap/folder/Maildir.py b/offlineimap/folder/Maildir.py index 9df641c..6e388fc 100644 --- a/offlineimap/folder/Maildir.py +++ b/offlineimap/folder/Maildir.py @@ -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