]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
toaster: BuildTasksTable filters remove outcome NA option
authorBelen Barros Pena <belen.barros.pena@linux.intel.com>
Thu, 9 Jun 2016 10:53:20 +0000 (11:53 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 Jun 2016 10:08:58 +0000 (11:08 +0100)
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>
lib/toaster/toastergui/buildtables.py

index 4edd0e86c40eb682acc1864ec442addab6a9ab02..f3d7236ae6620e1a145b94437dffd042f45befa2 100644 (file)
@@ -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,