From 44c5d3dc845988be9a11df6e0c8aef51377aef49 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 30 Oct 2012 16:39:47 +0000 Subject: [PATCH] bitbake: 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. (Bitbake rev: d787e4efc106589811651bc18ca48d5223443b95) Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/knotty.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 3799018fe3..6ac3d85b1e 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/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: