From 39452a8ca422df78b6dfef2f1c286d52da85b027 Mon Sep 17 00:00:00 2001 From: Asfandyar Orakzai Date: Fri, 16 Sep 2022 13:02:06 +0200 Subject: [PATCH] fixed formating of driver generator script Signed-off-by: Asfandyar Orakzai --- scripts/generate_driver_wrappers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/generate_driver_wrappers.py b/scripts/generate_driver_wrappers.py index 97e8bfdeac..ae6db54af7 100755 --- a/scripts/generate_driver_wrappers.py +++ b/scripts/generate_driver_wrappers.py @@ -134,7 +134,8 @@ def read_driver_descriptions(mbedtls_root: str, json_directory: str, \ driver_list = json.load(driverlistfile) try: - result = [load_driver(driver_schema, driver_file=os.path.join(json_directory, driver_file_name)) + result = [load_driver(schemas=driver_schema, + driver_file=os.path.join(json_directory, driver_file_name)) for driver_file_name in driver_list] except JsonValidationException as _: return False, []