From d787e4efc106589811651bc18ca48d5223443b95 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 30 Oct 2012 16:39:47 +0000 Subject: knotty: Ensure last tasks are disaplyed correctly in the footer There was an issue where the last tasks run by bitbake would not correctly get displayed in the knotty footer. This was due to the total count including active tasks. This change ensures the footer is displayed if the are any running tasks. Signed-off-by: Richard Purdie --- lib/bb/ui/knotty.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py index 3799018fe..6ac3d85b1 100644 --- a/lib/bb/ui/knotty.py +++ b/lib/bb/ui/knotty.py @@ -187,7 +187,7 @@ class TerminalFilter(object): return if self.footer_present: self.clearFooter() - if not self.helper.tasknumber_total or self.helper.tasknumber_current == self.helper.tasknumber_total: + if (not self.helper.tasknumber_total or self.helper.tasknumber_current == self.helper.tasknumber_total) and not len(activetasks): return tasks = [] for t in runningpids: -- cgit 1.2.3-korg