projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b84acf3
)
support/scripts/pkg-stats: fix flake8 E741 ambiguous variable name
author
Matthew Weber
<Matthew.Weber@collins.com>
Tue, 18 May 2021 18:21:53 +0000
(13:21 -0500)
committer
Yann E. MORIN
<yann.morin.1998@free.fr>
Tue, 18 May 2021 19:06:12 +0000
(21:06 +0200)
Signed-off-by: Matthew Weber <matthew.weber@collins.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
support/scripts/pkg-stats
patch
|
blob
|
history
diff --git
a/support/scripts/pkg-stats
b/support/scripts/pkg-stats
index c7e30dfd2b92f7cad84a4f6736f5aceb0f73d6b4..0cd3674c52bbd3a44b8136980a0c9c2235c3902f 100755
(executable)
--- a/
support/scripts/pkg-stats
+++ b/
support/scripts/pkg-stats
@@
-375,9
+375,9
@@
def package_init_make_info():
variable_list = [x[5:] for x in variable_list if x.startswith("HOST_")] + \
[x for x in variable_list if not x.startswith("HOST_")]
- for
l
in variable_list:
+ for
item
in variable_list:
# Get variable name and value
- pkgvar, value =
l
.split("=")
+ pkgvar, value =
item
.split("=")
# Strip the suffix according to the variable
if pkgvar.endswith("_LICENSE"):