runningbuild.py: fix goggle ui
PATCH 1/1 runningbuild.py: fix goggle ui
* goggle ui actually fails with :
Traceback (most recent call last):
File ".../bitbake/lib/bb/ui/goggle.py", line 35, in event_handle_idle_func
build.handle_event (event, pbar)
File ".../bitbake/lib/bb/ui/crumbs/runningbuild.py", line 234, in handle_event
pbar.update(0, None, bb.event.getName(event))
TypeError: update() takes exactly 3 arguments (4 given)
--- lib/bb/ui/crumbs/runningbuild.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
lib/bb/ui/crumbs/runningbuild.py +2 -2
@@ -231,8 +231,8 @@ class RunningBuild (gobject.GObject): HobColors.OK, 0)) if pbar: - pbar.update(0, None, bb.event.getName(event)) - pbar.set_title() + pbar.update(0, self.progress_total) + pbar.set_title(bb.event.getName(event)) elif isinstance(event, bb.event.BuildCompleted): failures = int (event._failures)
Signature · 1 line
1.7.7.6
Richard Purdie
AppliedQuoted 9 lines · Eric Bénard
* goggle ui actually fails with :
Traceback (most recent call last):
File ".../bitbake/lib/bb/ui/goggle.py", line 35, inevent_handle_idle_func
build.handle_event (event, pbar)
File ".../bitbake/lib/bb/ui/crumbs/runningbuild.py", line 234, inhandle_event
pbar.update(0, None, bb.event.getName(event))
TypeError:update()takes exactly 3 arguments (4 given)Signed-off-by Eric Bénard <[email protected]>
Merged to master, thanks.
Richard