summaryrefslogtreecommitdiffstats
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:39:51 +0000
commitd787e4efc106589811651bc18ca48d5223443b95 (patch)
treea212560963f55cd221847cccf258e5684d0eab82
parent2bd9a00facb90f7d76a9bdaa86ca765fb2159e71 (diff)
downloadbitbake-d787e4efc106589811651bc18ca48d5223443b95.tar.gz
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 <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/ui/knotty.py2
1 files changed, 1 insertions, 1 deletions
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: