mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-08-30 14:59:54 +00:00
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 <[email protected]>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user