diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-04-09 15:56:14 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-02 15:41:32 +0100 |
commit | 8306ba50db13eb3adcc0161e120c53c3f7aefe7b (patch) | |
tree | 83ce144192698ca0ea6e5fb00cb3918437ce6641 /bitbake/lib/bb | |
parent | 6623d79adaf445081e68b307355292077800d4f4 (diff) | |
download | openembedded-core-8306ba50db13eb3adcc0161e120c53c3f7aefe7b.tar.gz openembedded-core-8306ba50db13eb3adcc0161e120c53c3f7aefe7b.tar.bz2 openembedded-core-8306ba50db13eb3adcc0161e120c53c3f7aefe7b.tar.xz openembedded-core-8306ba50db13eb3adcc0161e120c53c3f7aefe7b.zip |
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/lib/bb')
-rw-r--r-- | bitbake/lib/bb/event.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 |