From: Richard Purdie Date: Tue, 30 Oct 2012 16:39:47 +0000 (+0000) Subject: bitbake: knotty: Ensure last tasks are disaplyed correctly in the footer X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=44c5d3dc845988be9a11df6e0c8aef51377aef49;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 3799018fe30..6ac3d85b1eb 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: