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:
committed by
Richard Purdie
parent
9729d05975
commit
8c15a93553
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user