aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-01-26 19:24:56 +0100
committerTibor Frank <tifrank@cisco.com>2018-01-26 19:24:56 +0100
commitc3a9866686d251ef6c1b20a785d81ad3e7400528 (patch)
treed57cf360ffb4b7c5d6ccd6fb68f6d65b9104918c
parentd96d0862a69b1f2c5ee8484e5b883268d49bef40 (diff)
Report: source data
Change-Id: Ibc928740a816fe56d6c7eeab95de67e5ebae9cf4 Signed-off-by: Tibor Frank <tifrank@cisco.com>
-rw-r--r--resources/tools/presentation/generator_tables.py8
1 files changed, 6 insertions, 2 deletions
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: