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:
parent
659b38bcf7
commit
bb05904cf1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user