aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2021-01-07 14:39:42 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2021-01-31 12:03:12 +0100
commit52a53c97e5bc71ba633d65c8466f6cdd6e562c87 (patch)
tree24fdc1ebb56dc939e7bf249cffdb749802980546
parent67768e97b02b22fd73bfa3ac066c6f636d8c984a (diff)
downloadbuildroot-52a53c97e5bc71ba633d65c8466f6cdd6e562c87.tar.gz
buildroot-52a53c97e5bc71ba633d65c8466f6cdd6e562c87.tar.bz2
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>
-rwxr-xr-xsupport/scripts/pkg-stats4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats
index e549a0ac54..d222ba37c3 100755
--- a/support/scripts/pkg-stats
+++ b/support/scripts/pkg-stats
@@ -144,8 +144,8 @@ class Package:
self.infras = list()
with open(os.path.join(brpath, self.path), 'r') as f:
lines = f.readlines()
- for l in lines:
- match = INFRA_RE.match(l)
+ for line in lines:
+ match = INFRA_RE.match(line)
if not match:
continue
infra = match.group(1)