diff options
author | Tibor Frank <tifrank@cisco.com> | 2018-04-26 12:18:35 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2018-04-26 12:23:07 +0200 |
commit | b892452e1fe2d226f526f9a0685b1095e36b8050 (patch) | |
tree | 5da9e22605ca5442bf4dc7677d4bc613decbd85d /resources/tools/presentation/generator_tables.py | |
parent | e7fe3850f2777db5c5b6d1fbd0877ebd7cac0f18 (diff) |
Report: Add data
Change-Id: I043a50f9d55dd784039a483da034cfe4db65d003
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_tables.py')
-rw-r--r-- | resources/tools/presentation/generator_tables.py | 7 |
1 files changed, 5 insertions, 2 deletions
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(): |