summaryrefslogtreecommitdiffstats
path: root/lib/bb
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-11-11 10:18:11 +0000
committerChris Larson <chris_larson@mentor.com>2010-12-08 20:06:17 -0700
commit380025786b7b384696d12fb71cc504bd418d801c (patch)
tree24f41aa59da4844f5da933aa2ef76553e84f5f8f /lib/bb
parent38f59ad6dbfdc51577927ccc133903fa965c51a3 (diff)
downloadbitbake-contrib-380025786b7b384696d12fb71cc504bd418d801c.tar.gz
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 <josh@linux.intel.com>
Diffstat (limited to 'lib/bb')
-rw-r--r--lib/bb/ui/crumbs/runningbuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/ui/crumbs/runningbuild.py b/lib/bb/ui/crumbs/runningbuild.py
index 711697cec..d4ba4b747 100644
--- a/lib/bb/ui/crumbs/runningbuild.py
+++ b/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,