summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/ui
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-11-11 10:18:11 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-07 12:50:09 +0000
commitcb6eff7c806acff406aec8208da92081f6a08775 (patch)
tree0f1564519b569b731f634efbfe1f4d4214804fd8 /bitbake/lib/bb/ui
parentbd8ff30da075357727ae3c200c31ccbea62bf56a (diff)
downloadopenembedded-core-cb6eff7c806acff406aec8208da92081f6a08775.tar.gz
openembedded-core-cb6eff7c806acff406aec8208da92081f6a08775.tar.bz2
openembedded-core-cb6eff7c806acff406aec8208da92081f6a08775.tar.xz
openembedded-core-cb6eff7c806acff406aec8208da92081f6a08775.zip
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 'bitbake/lib/bb/ui')
-rw-r--r--bitbake/lib/bb/ui/crumbs/runningbuild.py2
1 files changed, 1 insertions, 1 deletions
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,