summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2022-11-29 15:22:21 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2022-11-29 15:22:21 +0100
commit1ec5b5340db1bc7959c38332481d0672aab1e029 (patch)
treec45bdce8f3423cb94a5625734727d442f5b3aaae /bin
parent48241ecff7fb76ff2139d9c261e146d2501b7610 (diff)
analyze-kconfig: correctly handle choice blocks when loading archives
Diffstat (limited to 'bin')
-rwxr-xr-xbin/analyze-kconfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/analyze-kconfig.py b/bin/analyze-kconfig.py
index 7cbb505..4aea5c6 100755
--- a/bin/analyze-kconfig.py
+++ b/bin/analyze-kconfig.py
@@ -267,7 +267,7 @@ def main():
ignore_index = dict()
new_param_names = list()
for i, param in enumerate(observations["param_names"]):
- if param in attributes.symbol_names:
+ if param in attributes.param_names:
new_param_names.append(param)
else:
ignore_index[i] = True
@@ -280,7 +280,7 @@ def main():
for observation in observations:
to_remove = list()
for param in observation["param"].keys():
- if param not in attributes.symbol_names:
+ if param not in attributes.param_names:
to_remove.append(param)
for param in to_remove:
observation["param"].pop(param)