From 4facfacc48ade7b90e2256bf915e2ca84687ceb7 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:20:17 +0200 Subject: [PATCH] folder/Gmail.py changed not var in This patch changes not var in with var not in --- offlineimap/folder/Gmail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/offlineimap/folder/Gmail.py b/offlineimap/folder/Gmail.py index d009c4a..308f68d 100644 --- a/offlineimap/folder/Gmail.py +++ b/offlineimap/folder/Gmail.py @@ -153,7 +153,7 @@ class GmailFolder(IMAPFolder): messagestr = messagestr.split(' ', 1)[1] # e.g.: {'X-GM-LABELS': '("Webserver (RW.net)" "\\Inbox" GInbox)', 'FLAGS': '(\\Seen)', 'UID': '275440'} options = imaputil.flags2hash(messagestr) - if not 'UID' in options: + if 'UID' not in options: self.ui.warn('No UID in message with options %s' % str(options), minor=1) else: