bb.event: fix MsgBase ref in fire_class_handlers
(Bitbake rev: db7f960e5f103a424a4319f1867fb540e643c1ec) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
3d3af810fa
commit
212414b13f
|
@ -57,8 +57,7 @@ bb.utils._context["NotHandled"] = NotHandled
|
|||
bb.utils._context["Handled"] = Handled
|
||||
|
||||
def fire_class_handlers(event, d):
|
||||
import bb.msg
|
||||
if isinstance(event, MsgBase):
|
||||
if isinstance(event, logging.LogRecord):
|
||||
return
|
||||
|
||||
for handler in _handlers:
|
||||
|
|
Loading…
Reference in New Issue