[bitbake-devel] [PATCH 13/14] toastergui: do not show in-progress builds in the table

Michael Wood michael.g.wood at intel.com
Tue Aug 18 16:28:59 UTC 2015


From: Alexandru DAMIAN <alexandru.damian at intel.com>

This patch fixes the all-builds table as not to show
in-progress builds.

Signed-off-by: Alexandru DAMIAN <alexandru.damian at intel.com>
Signed-off-by: Michael Wood <michael.g.wood at intel.com>
---
 lib/toaster/toastergui/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/toaster/toastergui/views.py b/lib/toaster/toastergui/views.py
index 20f7cb3..086d387 100755
--- a/lib/toaster/toastergui/views.py
+++ b/lib/toaster/toastergui/views.py
@@ -1892,7 +1892,7 @@ if True:
         # be able to display something.  'count' and 'page' are mandatory for all views
         # that use paginators.
 
-        queryset = Build.objects.filter(outcome__lte = Build.IN_PROGRESS)
+        queryset = Build.objects.exclude(outcome = Build.IN_PROGRESS)
 
         context, pagesize, orderby = _build_list_helper(request, queryset)
 
-- 
2.1.4




More information about the bitbake-devel mailing list