folder/LocalStatus.py Removed unused variables

These variables are not used.
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-30 13:32:36 +02:00
parent dc8872377c
commit b257cdca04

View File

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