[poky] [PATCH 03/10] bitbake/crumbs: fix the event name determination
Joshua Lock
josh at linux.intel.com
Mon Dec 6 08:11:22 PST 2010
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 at linux.intel.com>
---
bitbake/lib/bb/ui/crumbs/runningbuild.py | 2 +-
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 711697c..d4ba4b7 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,
--
1.7.3.2
More information about the poky
mailing list