From 8742ff431184d7046585312043f21ca68958cc94 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:36:40 +0200 Subject: [PATCH] folder/LocalStatusSQLite.py changed not var in This patch changes: if not var1 in var2 with if var1 not in var2 --- offlineimap/folder/LocalStatusSQLite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/offlineimap/folder/LocalStatusSQLite.py b/offlineimap/folder/LocalStatusSQLite.py index 2c8f170..fb9679d 100644 --- a/offlineimap/folder/LocalStatusSQLite.py +++ b/offlineimap/folder/LocalStatusSQLite.py @@ -421,7 +421,7 @@ class LocalStatusSQLiteFolder(BaseFolder): # Interface from BaseFolder def deletemessage(self, uid): - if not uid in self.messagelist: + if uid not in self.messagelist: return self.__sql_write('DELETE FROM status WHERE id=?', (uid,)) del (self.messagelist[uid])