diff options
author | Tibor Frank <tifrank@cisco.com> | 2020-05-27 10:57:46 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2020-05-27 10:57:46 +0200 |
commit | 3ea4fcebabfaac866d469a7b4355ac8df7732a0f (patch) | |
tree | 4307fde007000348d1a0188ff1d33bc58ee8ad89 /resources/tools/presentation/generator_tables.py | |
parent | cab556a47fee3858bd3ef9fc33eb84a563f0e82d (diff) |
PAL: Fix table_comparison again
Change-Id: Ie408afd7bb8390ebe2fc90eca6daf8da44d22e3b
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 | 4 |
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): |