diff options
author | Chris Laplante <chris.laplante@agilent.com> | 2019-06-10 13:53:50 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-11 10:07:50 +0100 |
commit | 85f0b443b7ab1848abc6eb658be489fc1718004c (patch) | |
tree | 7e31d1afc0ffa23af6f8086f8abcdcaadf860f3d | |
parent | c4d90890547af642e99cc541af3415df3559563e (diff) | |
download | bitbake-85f0b443b7ab1848abc6eb658be489fc1718004c.tar.gz |
knotty: allow progress rate for indeterminate bars
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/ui/knotty.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py index 3d9e2031b..88f638fb3 100644 --- a/lib/bb/ui/knotty.py +++ b/lib/bb/ui/knotty.py @@ -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) |