summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-04-09 15:56:14 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-02 15:41:32 +0100
commit8306ba50db13eb3adcc0161e120c53c3f7aefe7b (patch)
tree83ce144192698ca0ea6e5fb00cb3918437ce6641 /bitbake
parent6623d79adaf445081e68b307355292077800d4f4 (diff)
downloadpoky-8306ba50db13eb3adcc0161e120c53c3f7aefe7b.tar.gz
Don't run metadata event handlers for bb.msg events
(Bitbake rev: 297305b3742323d09d9ca58e958c4f18e945a148) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/event.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py
index c1c6a36c9d..aa3a4471d8 100644
--- a/bitbake/lib/bb/event.py
+++ b/bitbake/lib/bb/event.py
@@ -54,6 +54,10 @@ bb.utils._context["NotHandled"] = NotHandled
54bb.utils._context["Handled"] = Handled 54bb.utils._context["Handled"] = Handled
55 55
56def fire_class_handlers(event, d): 56def fire_class_handlers(event, d):
57 import bb.msg
58 if isinstance(event, bb.msg.MsgBase):
59 return
60
57 for handler in _handlers: 61 for handler in _handlers:
58 h = _handlers[handler] 62 h = _handlers[handler]
59 event.data = d 63 event.data = d