From de85e6dd9e2fee7653953ca29f86923c1fad6c4e Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Mon, 27 Feb 2023 09:30:10 +0100 Subject: Report: Add release data Signed-off-by: Tibor Frank Change-Id: I94868a21f41f31cf30547fed1986a123286b5f27 --- resources/tools/presentation/generator_tables.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'resources/tools/presentation/generator_tables.py') diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index d4f3c76f17..c2c1f00af5 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -2014,8 +2014,13 @@ def table_comparison(table, input_data): for itm in footnote.split("\n"): file_handler.write(f'"{itm}"\n') - tbl_tmp = list() - max_lens = [0, ] * len(tbl_cmp_lst[0]) + try: + max_lens = [0, ] * len(tbl_cmp_lst[0]) + except IndexError as err: + logging.error(f"Generator tables: {err}") + return + + tbl_tmp = list() for line in tbl_cmp_lst: row = [line[0], ] for idx, itm in enumerate(line[1:]): -- cgit 1.2.3-korg