pmb.parse.kconfig: Rename options to arch_options in check_config_options_set (MR 2490)

Otherwise mypy gets confused by the type later in the code, and I also
think it might be confusing behaviour in general that <options> gets
overwritten in this loop.
This commit is contained in:
Newbyte 2024-11-15 12:07:08 +01:00
parent b2d32a85e9
commit df2593400d
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -135,7 +135,7 @@ def check_config_options_set(
if skip:
continue
for archs, options in archs_options.items():
for archs, arch_options in archs_options.items():
if archs != "all":
# Split and check if the device's architecture architecture has
# special config options. If option does not contain the
@ -144,7 +144,7 @@ def check_config_options_set(
if config_arch not in architectures:
continue
for option, option_value in options.items():
for option, option_value in arch_options.items():
if not check_option(component, details, config, config_path, option, option_value):
ret = False
# Stop after one non-detailed error