Report: Add data
[csit.git] / resources / tools / presentation / generator_tables.py
index 951be8e..6948b45 100644 (file)
@@ -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():