From c3a9866686d251ef6c1b20a785d81ad3e7400528 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Fri, 26 Jan 2018 19:24:56 +0100 Subject: Report: source data Change-Id: Ibc928740a816fe56d6c7eeab95de67e5ebae9cf4 Signed-off-by: Tibor Frank --- resources/tools/presentation/generator_tables.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'resources/tools/presentation') diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 58d3b67b55..21a7f05497 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -374,8 +374,12 @@ def table_performance_comparison(table, input_data): tbl_dict[tst_name] = {"name": name, "ref-data": list(), "cmp-data": list()} - tbl_dict[tst_name]["ref-data"].\ - append(tst_data["throughput"]["value"]) + try: + tbl_dict[tst_name]["ref-data"].\ + append(tst_data["throughput"]["value"]) + except TypeError as err: + logging.warning(err) + logging.warning(tst_data) for job, builds in table["compare"]["data"].items(): for build in builds: -- cgit 1.2.3-korg