diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-12-10 11:04:08 -0500 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-01-04 14:46:48 +0000 |
commit | 212414b13fe437637a711a41c60328d0e2604421 (patch) | |
tree | 0d940cae6253d8c1e7e7c10aff207d9f325e4bab /bitbake/lib/bb/event.py | |
parent | 3d3af810fa5c049b23bba1069f1653aef5fe361f (diff) | |
download | openembedded-core-212414b13fe437637a711a41c60328d0e2604421.tar.gz openembedded-core-212414b13fe437637a711a41c60328d0e2604421.tar.bz2 openembedded-core-212414b13fe437637a711a41c60328d0e2604421.zip |
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>
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r-- | bitbake/lib/bb/event.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index 009cbf93ba..61dec232da 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py @@ -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: |