X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_tables.py;h=21a7f05497b0263ba3af3105fcc3c57fb22f8675;hp=58d3b67b555095d835abbfbb3ad5a041b8e5064a;hb=c3a9866686d251ef6c1b20a785d81ad3e7400528;hpb=d96d0862a69b1f2c5ee8484e5b883268d49bef40 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: