aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/event.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-04-09 15:56:14 -0700
committerChris Larson <chris_larson@mentor.com>2010-04-09 19:38:16 -0700
commit297305b3742323d09d9ca58e958c4f18e945a148 (patch)
tree51bd17f9ef87f403322494772d20dd860f963686 /lib/bb/event.py
parent03a6c26f8da226f442c3cab557e4733f7cd6eeac (diff)
downloadbitbake-297305b3742323d09d9ca58e958c4f18e945a148.tar.gz
bitbake-297305b3742323d09d9ca58e958c4f18e945a148.tar.bz2
bitbake-297305b3742323d09d9ca58e958c4f18e945a148.zip
Don't run metadata event handlers for bb.msg events
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/event.py')
-rw-r--r--lib/bb/event.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py
index c1c6a36c..aa3a4471 100644
--- a/lib/bb/event.py
+++ b/lib/bb/event.py
@@ -54,6 +54,10 @@ bb.utils._context["NotHandled"] = NotHandled
bb.utils._context["Handled"] = Handled
def fire_class_handlers(event, d):
+ import bb.msg
+ if isinstance(event, bb.msg.MsgBase):
+ return
+
for handler in _handlers:
h = _handlers[handler]
event.data = d