From 8306ba50db13eb3adcc0161e120c53c3f7aefe7b Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 9 Apr 2010 15:56:14 -0700 Subject: Don't run metadata event handlers for bb.msg events (Bitbake rev: 297305b3742323d09d9ca58e958c4f18e945a148) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/event.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bitbake/lib/bb') diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index c1c6a36c9..aa3a4471d 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/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 -- cgit v1.2.3