[gnome-continuous-yocto/gnomeostree-3.28-rocko: 901/8267] bitbake: toaster: BuildTasksTable filters remove outcome NA option



commit e23faacd6f17be69c6945ffb55779cedee3c03a6
Author: Belen Barros Pena <belen barros pena linux intel com>
Date:   Thu Jun 9 11:53:20 2016 +0100

    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 <belen barros pena linux intel com>
    Signed-off-by: Michael Wood <michael g wood intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 bitbake/lib/toaster/toastergui/buildtables.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/bitbake/lib/toaster/toastergui/buildtables.py b/bitbake/lib/toaster/toastergui/buildtables.py
index 4edd0e8..f3d7236 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]