summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2012-03-19 12:56:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-20 15:21:32 +0000
commit30ff27a71bc4e6ea11981f08b3701e4a79380471 (patch)
tree6212a19200fe3e13b233a289976b69b39eb2d7d5
parent30e35fa094d4ee75796f48b57d37b35cf73d935a (diff)
downloadpoky-30ff27a71bc4e6ea11981f08b3701e4a79380471.tar.gz
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>
-rw-r--r--bitbake/lib/bb/ui/crumbs/runningbuild.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/runningbuild.py b/bitbake/lib/bb/ui/crumbs/runningbuild.py
index 718f692412..10ca394061 100644
--- a/bitbake/lib/bb/ui/crumbs/runningbuild.py
+++ b/bitbake/lib/bb/ui/crumbs/runningbuild.py
@@ -231,8 +231,8 @@ class RunningBuild (gobject.GObject):
231 HobColors.OK, 231 HobColors.OK,
232 0)) 232 0))
233 if pbar: 233 if pbar:
234 pbar.update(0, None, bb.event.getName(event)) 234 pbar.update(0, self.progress_total)
235 pbar.set_title() 235 pbar.set_title(bb.event.getName(event))
236 236
237 elif isinstance(event, bb.event.BuildCompleted): 237 elif isinstance(event, bb.event.BuildCompleted):
238 failures = int (event._failures) 238 failures = int (event._failures)