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 13:27:19 +0100 |
commit | 8c15a93553cbfd7c9ee0676076a3506a75616857 (patch) | |
tree | 2a2517dd72fb21fc99bf5921a21e7463b04e20fa /bitbake/lib/bb/ui/knotty.py | |
parent | 9729d0597593cfa5a21928ba52d30cb8f4a279ab (diff) | |
download | poky-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.py | 2 |
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) |