diff options
author | Tibor Frank <tifrank@cisco.com> | 2018-04-26 12:18:35 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2018-04-26 10:25:58 +0000 |
commit | 821e4f623772a7f37102b31a4cf3e05b6ccba563 (patch) | |
tree | 6294db2039c953540a1cabc1d5a4f9a687363f60 /resources/tools/presentation/generator_tables.py | |
parent | 7a4d6968edc4a33d3b7862c696ad12e36fc1e4bc (diff) |
Report: Add data
Change-Id: I043a50f9d55dd784039a483da034cfe4db65d003
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit b892452e1fe2d226f526f9a0685b1095e36b8050)
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(): |