From e23faacd6f17be69c6945ffb55779cedee3c03a6 Mon Sep 17 00:00:00 2001 From: Belen Barros Pena Date: Thu, 9 Jun 2016 11:53:20 +0100 Subject: bitbake: 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. (Bitbake rev: 4e21817b0d7a91e634bdb2069850627c38fde053) Signed-off-by: Belen Barros Pena Signed-off-by: Michael Wood Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/buildtables.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bitbake') diff --git a/bitbake/lib/toaster/toastergui/buildtables.py b/bitbake/lib/toaster/toastergui/buildtables.py index 4edd0e86c4..f3d7236ae6 100644 --- a/bitbake/lib/toaster/toastergui/buildtables.py +++ b/bitbake/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, -- cgit v1.2.3-54-g00ecf