summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-30 16:39:47 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-30 16:55:39 +0000
commit44c5d3dc845988be9a11df6e0c8aef51377aef49 (patch)
treed364f9a8fba56490748e7d7a7445ecd0eeff17d4 /bitbake
parente9e3285e1397cfd2d34f4eb7b5aa59311eea861d (diff)
downloadpoky-44c5d3dc845988be9a11df6e0c8aef51377aef49.tar.gz
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/knotty.py2
1 files changed, 1 insertions, 1 deletions
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):
187 return 187 return
188 if self.footer_present: 188 if self.footer_present:
189 self.clearFooter() 189 self.clearFooter()
190 if not self.helper.tasknumber_total or self.helper.tasknumber_current == self.helper.tasknumber_total: 190 if (not self.helper.tasknumber_total or self.helper.tasknumber_current == self.helper.tasknumber_total) and not len(activetasks):
191 return 191 return
192 tasks = [] 192 tasks = []
193 for t in runningpids: 193 for t in runningpids: