folder/Gmail.py changed not var in

This patch changes not var in with var not in
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-30 13:20:17 +02:00
parent e3533e7fa9
commit 4facfacc48

View File

@ -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: