From b7333145d3d6814b49bf49b42c7327e5121c906f Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Tue, 16 Sep 2025 12:42:35 +0200 Subject: [PATCH] Fix generate_config_checks.py not actually generating the files `output_files` was accidentally an iterator that was not iterated over unless one of the list-only options was enabled. Signed-off-by: Gilles Peskine --- scripts/mbedtls_framework/config_checks_generator.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/mbedtls_framework/config_checks_generator.py b/scripts/mbedtls_framework/config_checks_generator.py index edca2f730..40b720e45 100644 --- a/scripts/mbedtls_framework/config_checks_generator.py +++ b/scripts/mbedtls_framework/config_checks_generator.py @@ -218,9 +218,9 @@ def main(branch_data: BranchData) -> None: help='output file location (default: %(default)s)') options = parser.parse_args() list_only = options.list or options.list_for_cmake - output_files = generate_header_files(branch_data, - options.output_directory, - list_only=list_only) + output_files = list(generate_header_files(branch_data, + options.output_directory, + list_only=list_only)) if options.list_for_cmake: sys.stdout.write(';'.join(output_files)) elif options.list: