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 | |
parent | 3d3af810fa5c049b23bba1069f1653aef5fe361f (diff) | |
download | poky-212414b13fe437637a711a41c60328d0e2604421.tar.gz |
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')
-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 | |||
57 | bb.utils._context["Handled"] = Handled | 57 | bb.utils._context["Handled"] = Handled |
58 | 58 | ||
59 | def fire_class_handlers(event, d): | 59 | def fire_class_handlers(event, d): |
60 | import bb.msg | 60 | if isinstance(event, logging.LogRecord): |
61 | if isinstance(event, MsgBase): | ||
62 | return | 61 | return |
63 | 62 | ||
64 | for handler in _handlers: | 63 | for handler in _handlers: |