diff options
-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 c1c6a36c9d..aa3a4471d8 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py | |||
@@ -54,6 +54,10 @@ bb.utils._context["NotHandled"] = NotHandled | |||
54 | bb.utils._context["Handled"] = Handled | 54 | bb.utils._context["Handled"] = Handled |
55 | 55 | ||
56 | def fire_class_handlers(event, d): | 56 | def 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 |