diff options
author | Tibor Frank <tifrank@cisco.com> | 2019-09-05 10:49:33 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2019-09-05 10:20:53 +0000 |
commit | 3eb09745cc7a936dc91a68a4a723867c2311f3a1 (patch) | |
tree | 44bfff70b84f7e17629f3985d4bb89ae2e743281 /resources/tools/presentation/generator_tables.py | |
parent | 2570a7fad59831b3d91359bc52440339a168c808 (diff) |
Report: Add DNV data
Change-Id: I020373b1553300459654ded31d940b0a5562eb8a
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_tables.py')
-rw-r--r-- | resources/tools/presentation/generator_tables.py | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 4795ab7985..f4c57f76d4 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -431,10 +431,11 @@ def table_performance_comparison(table, input_data): tbl_see = list() tbl_delta = list() for item in tbl_lst: - if "New in CSIT" in item[-1]: - tbl_new.append(item) - elif "See footnote" in item[-1]: - tbl_see.append(item) + if isinstance(item[-1], str): + if "New in CSIT" in item[-1]: + tbl_new.append(item) + elif "See footnote" in item[-1]: + tbl_see.append(item) else: tbl_delta.append(item) @@ -725,10 +726,11 @@ def table_performance_comparison_nic(table, input_data): tbl_see = list() tbl_delta = list() for item in tbl_lst: - if "New in CSIT" in item[-1]: - tbl_new.append(item) - elif "See footnote" in item[-1]: - tbl_see.append(item) + if isinstance(item[-1], str): + if "New in CSIT" in item[-1]: + tbl_new.append(item) + elif "See footnote" in item[-1]: + tbl_see.append(item) else: tbl_delta.append(item) |