support/scripts/pkg-stats: fix flake8 E741 ambiguous variable name

Signed-off-by: Matthew Weber <matthew.weber@collins.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Matthew Weber 2021-05-18 13:21:53 -05:00 committed by Yann E. MORIN
parent b84acf3f1d
commit c2ebfe7d78

View File

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