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