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 04:33:07 +0000
commit953d1310d2df574888cef2bd282843d186640628 (patch)
treec7a1db7db114cb79e898bce56c7ac73d7b00185b /resources/tools/presentation/generator_tables.py
parent552b72bd32a8c8a76dd09254dcf2b21fc6a0c18c (diff)
Report: Fix typo in specification.
Change-Id: Ie61f8c1eef8828ce30f82e33ef0c40b8f77de26b Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit 00d8063d0ebc8587c6bf52af824b7ae5e98baf1e)
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 b538790f40..021744dd37 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -1539,6 +1539,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"], ]