[oe-commits] [bitbake] 06/26: toaster: BuildTasksTable filters remove outcome NA option

git at git.openembedded.org git at git.openembedded.org
Tue Jun 14 10:10:14 UTC 2016


rpurdie pushed a commit to branch master-next
in repository bitbake.

commit 4e21817b0d7a91e634bdb2069850627c38fde053
Author: Belen Barros Pena <belen.barros.pena at linux.intel.com>
AuthorDate: Thu Jun 9 11:53:20 2016 +0100

    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 at linux.intel.com>
    Signed-off-by: Michael Wood <michael.g.wood at intel.com>
---
 lib/toaster/toastergui/buildtables.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/toaster/toastergui/buildtables.py b/lib/toaster/toastergui/buildtables.py
index 4edd0e8..f3d7236 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,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list