1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

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>
This commit is contained in:
Chris Laplante
2019-06-10 13:53:50 +00:00
committed by Richard Purdie
parent 9729d05975
commit 8c15a93553
+1 -1
View File
@@ -300,8 +300,8 @@ class TerminalFilter(object):
if start_time:
pbar.start_time = start_time
pbar.setmessage('%s:%s' % (tasknum, pbar.msg.split(':', 1)[1]))
pbar.setextra(rate)
if progress > -1:
pbar.setextra(rate)
content = pbar.update(progress)
else:
content = pbar.update(1)