From 1b6af2787e5842ef8e933c5ffda172664095832e Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Tue, 8 Jun 2010 11:42:49 -0700 Subject: Make knotty ignore the NoProvider event (Bitbake rev: e07f759dae96c0819c35bb67e1da18ca361bb584) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/knotty.py | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) (limited to 'bitbake/lib') diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index b6ca15b4f..a7611a91a 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py @@ -149,21 +149,14 @@ def init(server, eventHandler): break # ignore - if isinstance(event, bb.event.BuildStarted): - continue - if isinstance(event, bb.event.BuildCompleted): - continue - if isinstance(event, bb.event.MultipleProviders): - continue - if isinstance(event, bb.runqueue.runQueueEvent): - continue - if isinstance(event, bb.runqueue.runQueueExitWait): - continue - if isinstance(event, bb.event.StampUpdate): - continue - if isinstance(event, bb.event.ConfigParsed): - continue - if isinstance(event, bb.event.RecipeParsed): + if isinstance(event, (bb.event.BuildBase, + bb.event.NoProvider, + bb.event.MultipleProviders, + bb.event.StampUpdate, + bb.event.ConfigParsed, + bb.event.RecipeParsed, + bb.runqueue.runQueueEvent, + bb.runqueue.runQueueExitWait)): continue print("Unknown Event: %s" % event) -- cgit v1.2.3