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>
This commit is contained in:
Joshua Lock 2010-11-11 10:18:11 +00:00 committed by Richard Purdie
parent bd8ff30da0
commit cb6eff7c80
1 changed files with 1 additions and 1 deletions

View File

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