summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-06-08 11:42:49 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-02 15:41:35 +0100
commit1b6af2787e5842ef8e933c5ffda172664095832e (patch)
tree41d17f02a7f5cf8377fe985fe239a60c41034685
parent4fac507dfb6aeb3b68dfa7f1945ff9132ad457d5 (diff)
downloadopenembedded-core-1b6af2787e5842ef8e933c5ffda172664095832e.tar.gz
openembedded-core-1b6af2787e5842ef8e933c5ffda172664095832e.tar.bz2
openembedded-core-1b6af2787e5842ef8e933c5ffda172664095832e.tar.xz
openembedded-core-1b6af2787e5842ef8e933c5ffda172664095832e.zip
Make knotty ignore the NoProvider event
(Bitbake rev: e07f759dae96c0819c35bb67e1da18ca361bb584) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--bitbake/lib/bb/ui/knotty.py23
1 files changed, 8 insertions, 15 deletions
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)