aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-05-27 10:57:46 +0200
committerTibor Frank <tifrank@cisco.com>2020-05-27 10:57:46 +0200
commit3ea4fcebabfaac866d469a7b4355ac8df7732a0f (patch)
tree4307fde007000348d1a0188ff1d33bc58ee8ad89 /resources/tools/presentation
parentcab556a47fee3858bd3ef9fc33eb84a563f0e82d (diff)
PAL: Fix table_comparison again
Change-Id: Ie408afd7bb8390ebe2fc90eca6daf8da44d22e3b Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation')
-rw-r--r--resources/tools/presentation/generator_tables.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index fbac776202..c06e492ec8 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -1762,7 +1762,9 @@ def table_comparison(table, input_data):
for line in tbl_cmp_lst:
row = [line[0], ]
for idx, itm in enumerate(line[1:]):
- if itm is None:
+ if itm is None or not isinstance(itm, dict) or \
+ itm.get(u'mean', None) is None or \
+ itm.get(u'stdev', None) is None:
new_itm = u"NT"
else:
if idx < len(cols):