summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@linux.intel.com>2016-06-09 11:53:20 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-14 11:08:58 +0100
commit4e21817b0d7a91e634bdb2069850627c38fde053 (patch)
treea3437cb077f1768db674c8c680f0d38e7b260348
parent70f600f86ec4d536004d968919e86d2afa58d585 (diff)
downloadbitbake-contrib-4e21817b0d7a91e634bdb2069850627c38fde053.tar.gz
toaster: BuildTasksTable filters remove outcome NA option
In the 'outcome' filter for tasks, remove the 'not applicable' option, since it should not be exposed to users. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com>
-rw-r--r--lib/toaster/toastergui/buildtables.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/toaster/toastergui/buildtables.py b/lib/toaster/toastergui/buildtables.py
index 4edd0e86c..f3d7236ae 100644
--- a/lib/toaster/toastergui/buildtables.py
+++ b/lib/toaster/toastergui/buildtables.py
@@ -389,6 +389,8 @@ class BuildTasksTable(BuildTablesMixin):
title="Filter Task by 'Outcome'")
for outcome_enum, title in Task.TASK_OUTCOME:
+ if outcome_enum is Task.OUTCOME_NA:
+ continue
action = TableFilterActionToggle(
title.replace(" ", "_").lower(),
"%s Tasks" % title,