summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/knotty.py
diff options
context:
space:
mode:
authorChris Laplante <chris.laplante@agilent.com>2019-06-10 13:53:50 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-11 13:27:19 +0100
commit8c15a93553cbfd7c9ee0676076a3506a75616857 (patch)
tree2a2517dd72fb21fc99bf5921a21e7463b04e20fa /bitbake/lib/bb/ui/knotty.py
parent9729d0597593cfa5a21928ba52d30cb8f4a279ab (diff)
downloadpoky-8c15a93553cbfd7c9ee0676076a3506a75616857.tar.gz
bitbake: knotty: allow progress rate for indeterminate bars
(Bitbake rev: 85f0b443b7ab1848abc6eb658be489fc1718004c) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/knotty.py')
-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 3d9e2031b3..88f638fb38 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -300,8 +300,8 @@ class TerminalFilter(object):
300 if start_time: 300 if start_time:
301 pbar.start_time = start_time 301 pbar.start_time = start_time
302 pbar.setmessage('%s:%s' % (tasknum, pbar.msg.split(':', 1)[1])) 302 pbar.setmessage('%s:%s' % (tasknum, pbar.msg.split(':', 1)[1]))
303 pbar.setextra(rate)
303 if progress > -1: 304 if progress > -1:
304 pbar.setextra(rate)
305 content = pbar.update(progress) 305 content = pbar.update(progress)
306 else: 306 else:
307 content = pbar.update(1) 307 content = pbar.update(1)