aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2019-08-02 08:31:31 +0200
committerTibor Frank <tifrank@cisco.com>2019-08-02 08:31:31 +0200
commit130e40a715f75a6c9575c92152eb4e05a96aa1a1 (patch)
treeed3979526c785a8cb65d37d6b92175649f94633c /resources
parentb6d4d4a6a8455e109c829af197c68632587c0706 (diff)
Trending: Fix ignore list processing
Change-Id: I27c2ae25cc9cf6996f3c22417479b300faa73994 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/tools/presentation/generator_tables.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index 05a696c214..66a0161912 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -682,7 +682,7 @@ def table_performance_trending_dashboard(table, input_data):
for job, builds in table["data"].items():
for build in builds:
for tst_name, tst_data in data[job][str(build)].iteritems():
- if tst_name.lower() in table["ignore-list"]:
+ if tst_name.lower() in table.get("ignore-list", False):
continue
if tbl_dict.get(tst_name, None) is None:
groups = re.search(REGEX_NIC, tst_data["parent"])
@@ -1074,7 +1074,7 @@ def table_failed_tests(table, input_data):
for build in builds:
build = str(build)
for tst_name, tst_data in data[job][build].iteritems():
- if tst_name.lower() in table["ignore-list"]:
+ if tst_name.lower() in table.get("ignore-list", False):
continue
if tbl_dict.get(tst_name, None) is None:
groups = re.search(REGEX_NIC, tst_data["parent"])