From b257cdca04e6597bbcfc0c0223fed57107586e24 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:32:36 +0200 Subject: [PATCH] folder/LocalStatus.py Removed unused variables These variables are not used. --- offlineimap/folder/LocalStatus.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/offlineimap/folder/LocalStatus.py b/offlineimap/folder/LocalStatus.py index 002582a..4a83e53 100644 --- a/offlineimap/folder/LocalStatus.py +++ b/offlineimap/folder/LocalStatus.py @@ -67,7 +67,7 @@ class LocalStatusFolder(BaseFolder): uid, flags = line.split(':') uid = int(uid) flags = set(flags) - except ValueError as e: + except ValueError: errstr = ("Corrupt line '%s' in cache file '%s'" % (line, self.filename)) self.ui.warn(errstr) @@ -90,7 +90,7 @@ class LocalStatusFolder(BaseFolder): flags = set(flags) mtime = int(mtime) labels = set([lb.strip() for lb in labels.split(',') if len(lb.strip()) > 0]) - except ValueError as e: + except ValueError: errstr = "Corrupt line '%s' in cache file '%s'" % \ (line, self.filename) self.ui.warn(errstr)