From 85f0b443b7ab1848abc6eb658be489fc1718004c Mon Sep 17 00:00:00 2001 From: Chris Laplante Date: Mon, 10 Jun 2019 13:53:50 +0000 Subject: knotty: allow progress rate for indeterminate bars Signed-off-by: Chris Laplante Signed-off-by: Richard Purdie --- lib/bb/ui/knotty.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit 1.2.3-korg