X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_tables.py;h=6948b45cf882d4e63a252b5f744938863d1efdf3;hp=951be8eea5af90ce2ea107ec0b62b810bda1d877;hb=b892452e1fe2d226f526f9a0685b1095e36b8050;hpb=e7fe3850f2777db5c5b6d1fbd0877ebd7cac0f18 diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 951be8eea5..6948b45cf8 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -422,8 +422,11 @@ def table_performance_comparison(table, input_data): None) is None: tbl_dict[tst_name]["history"][item["title"]] = \ list() - tbl_dict[tst_name]["history"][item["title"]].\ - append(tst_data["throughput"]["value"]) + try: + tbl_dict[tst_name]["history"][item["title"]].\ + append(tst_data["throughput"]["value"]) + except (TypeError, KeyError): + pass tbl_lst = list() for tst_name in tbl_dict.keys():