mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
support/scripts/pkg-stats: fix flake8 warnings
Fixes: support/scripts/pkg-stats:148:17: E741 ambiguous variable name 'l' support/scripts/pkg-stats:379:9: E741 ambiguous variable name 'l' Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
@@ -144,8 +144,8 @@ class Package:
|
|||||||
self.infras = list()
|
self.infras = list()
|
||||||
with open(os.path.join(brpath, self.path), 'r') as f:
|
with open(os.path.join(brpath, self.path), 'r') as f:
|
||||||
lines = f.readlines()
|
lines = f.readlines()
|
||||||
for l in lines:
|
for line in lines:
|
||||||
match = INFRA_RE.match(l)
|
match = INFRA_RE.match(line)
|
||||||
if not match:
|
if not match:
|
||||||
continue
|
continue
|
||||||
infra = match.group(1)
|
infra = match.group(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user