From cb6eff7c806acff406aec8208da92081f6a08775 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Thu, 11 Nov 2010 10:18:11 +0000 Subject: bitbake/crumbs: fix the event name determination Due to some recent change *somewhere* we need to explicitly look at the name attribute on the instances class, rather than the name attribute of the instance. Signed-off-by: Joshua Lock --- bitbake/lib/bb/ui/crumbs/runningbuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/ui') diff --git a/bitbake/lib/bb/ui/crumbs/runningbuild.py b/bitbake/lib/bb/ui/crumbs/runningbuild.py index 711697cec..d4ba4b747 100644 --- a/bitbake/lib/bb/ui/crumbs/runningbuild.py +++ b/bitbake/lib/bb/ui/crumbs/runningbuild.py @@ -83,7 +83,7 @@ class RunningBuild (gobject.GObject): # Add the message to the tree either at the top level if parent is # None otherwise as a descendent of a task. self.model.append (parent, - (event.__name__.split()[-1], # e.g. MsgWarn, MsgError + (event.__class__.__name__.split()[-1], # e.g. MsgWarn, MsgError package, task, event._message, -- cgit v1.2.3