]> code.ossystems Code Review - openembedded-core.git/commitdiff
bb.event: fix MsgBase ref in fire_class_handlers
authorChris Larson <chris_larson@mentor.com>
Fri, 10 Dec 2010 16:04:08 +0000 (11:04 -0500)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 4 Jan 2011 14:46:48 +0000 (14:46 +0000)
(Bitbake rev: db7f960e5f103a424a4319f1867fb540e643c1ec)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/event.py

index 009cbf93ba2732913a03ec070c3001b5afe482d4..61dec232daea5b06497be1cd83a32741f2b83889 100644 (file)
@@ -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: