aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_tables.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-05-04 06:29:53 +0200
committerTibor Frank <tifrank@cisco.com>2020-05-04 06:29:53 +0200
commit00d8063d0ebc8587c6bf52af824b7ae5e98baf1e (patch)
tree2a82056137e719d290c58d2657aede224cfcad4a /resources/tools/presentation/generator_tables.py
parent4f7ce5c8b8362009da3dcda9fd8e077be821adc7 (diff)
Report: Fix typo in specification.
Change-Id: Ie61f8c1eef8828ce30f82e33ef0c40b8f77de26b 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.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index a72551f15a..977ba8d669 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -1547,6 +1547,10 @@ def table_comparison(table, input_data):
u"stdev": tst_data[u"stdev"]
}
+ if not tbl_dict:
+ logging.warning(f"No data for table {table.get(u'title', u'')}!")
+ return
+
tbl_lst = list()
for tst_data in tbl_dict.values():
row = [tst_data[u"name"], ]