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:
Eric Bénard 2012-03-19 12:56:19 +01:00 committed by Richard Purdie
parent 30e35fa094
commit 30ff27a71b
1 changed files with 2 additions and 2 deletions

View File

@ -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)