aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_tables.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2017-10-31 14:45:51 +0100
committerTibor Frank <tifrank@cisco.com>2017-10-31 13:46:34 +0000
commitcc9febdb8521eb12c3a535b34804664da1dd779e (patch)
treee886d4db328ec02a02fe205122ff20c2f001ca1e /resources/tools/presentation/generator_tables.py
parent0650d657240d7f1123a287d505fac7de8e91528b (diff)
Report:data
Change-Id: I3a89d58155b92c819c0ad9406921c346812c8730 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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index 1071dee409..af5fcd1f57 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -200,7 +200,7 @@ def table_performance_improvements(table, input_data):
tbl_item.append({"data": eval(operation)(nr1, nr2)})
else:
tbl_item.append({"data": None})
- except (IndexError, ValueError):
+ except (IndexError, ValueError, TypeError):
logging.error("No data for {0}".format(tbl_item[1]["data"]))
tbl_item.append({"data": None})
continue