Renamed variable already used

The variable l was used in tn the code, so we should change it in
this code block.
This commit is contained in:
Rodolfo García Peñas (kix) 2020-10-10 17:24:18 +02:00
parent 659b38bcf7
commit bb05904cf1

View File

@ -56,7 +56,7 @@ class GmailFolder(IMAPFolder):
# Labels to be left alone
ignorelabels = self.repository.account.getconf('ignorelabels', '')
self.ignorelabels = set([l for l in re.split(r'\s*,\s*', ignorelabels) if len(l)])
self.ignorelabels = set([v for v in re.split(r'\s*,\s*', ignorelabels) if len(v)])
def getmessage(self, uid):
"""Retrieve message with UID from the IMAP server (incl body). Also