diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-12-10 11:04:08 -0500 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-12-10 11:04:33 -0500 |
commit | db7f960e5f103a424a4319f1867fb540e643c1ec (patch) | |
tree | f7aab4094718da1e1cf5219df8cdaad40fd44fd3 /lib/bb/event.py | |
parent | 240d4a7ae80a6636c302ae84266ddfed7a7fcedd (diff) | |
download | bitbake-db7f960e5f103a424a4319f1867fb540e643c1ec.tar.gz |
bb.event: fix MsgBase ref in fire_class_handlers
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/event.py')
-rw-r--r-- | lib/bb/event.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py index c0f183c8f..15ba59f5f 100644 --- a/lib/bb/event.py +++ b/lib/bb/event.py @@ -56,8 +56,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: |