diff options
author | 2023-02-27 09:30:10 +0100 | |
---|---|---|
committer | 2023-02-27 08:31:22 +0000 | |
commit | 7a1e4b6ba2b2d915b1df74f24a26b05c50c2a621 (patch) | |
tree | 435d1404852de5a481d7b2b3a5bd99f24f607f83 /resources/tools/presentation/generator_tables.py | |
parent | b0d36aab5615c2f8824cf828a2308c7f59afd26f (diff) |
Report: Add release data
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Change-Id: I94868a21f41f31cf30547fed1986a123286b5f27
(cherry picked from commit de85e6dd9e2fee7653953ca29f86923c1fad6c4e)
Diffstat (limited to 'resources/tools/presentation/generator_tables.py')
-rw-r--r-- | resources/tools/presentation/generator_tables.py | 9 |
1 files changed, 7 insertions, 2 deletions
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:]): |