mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 03:49:32 +02:00
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)
(Bitbake rev: 815c113120b73331ecf32d6f57bc034f379bed43)
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
30e35fa094
commit
30ff27a71b
@@ -231,8 +231,8 @@ class RunningBuild (gobject.GObject):
|
|||||||
HobColors.OK,
|
HobColors.OK,
|
||||||
0))
|
0))
|
||||||
if pbar:
|
if pbar:
|
||||||
pbar.update(0, None, bb.event.getName(event))
|
pbar.update(0, self.progress_total)
|
||||||
pbar.set_title()
|
pbar.set_title(bb.event.getName(event))
|
||||||
|
|
||||||
elif isinstance(event, bb.event.BuildCompleted):
|
elif isinstance(event, bb.event.BuildCompleted):
|
||||||
failures = int (event._failures)
|
failures = int (event._failures)
|
||||||
|
|||||||
Reference in New Issue
Block a user