[oe-commits] [bitbake] 24/44: toaster: BuildTasksTable filters remove outcome NA option

git at git.openembedded.org git at git.openembedded.org
Mon Jun 13 21:11:12 UTC 2016


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

commit 992766cfc885e9168768d7fb2124f260d2792afe
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