aboutsummaryrefslogtreecommitdiffstats
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:44 +0000
commit44d6329c114f9f572b74e0a12543f37dc27aa4c9 (patch)
treec2b07c0bfce10e1f03210246c2d699651e4093b4
parent576fc73138d51d3046503ebcf83eb4d9611567c6 (diff)
Report:data
Change-Id: I3a89d58155b92c819c0ad9406921c346812c8730 Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit cc9febdb8521eb12c3a535b34804664da1dd779e)
-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