diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-06 13:03:19 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-06 13:03:19 +0000 |
commit | 9f5dbcce6fd49383821d5f36fb88d35ddabc613f (patch) | |
tree | be1c7ff28be3d2441a234712ea1f1e7623c55b58 /lib/bb/ui/knotty.py | |
parent | a946f9b948adb5046de65ee98c5cdebd803888d5 (diff) | |
download | bitbake-9f5dbcce6fd49383821d5f36fb88d35ddabc613f.tar.gz |
Update the UIs against the core changes and allow dynamic loading of the UI so UIs become truly plugable.
Diffstat (limited to 'lib/bb/ui/knotty.py')
-rw-r--r-- | lib/bb/ui/knotty.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py index 0de90a927..a6595df3f 100644 --- a/lib/bb/ui/knotty.py +++ b/lib/bb/ui/knotty.py @@ -56,9 +56,6 @@ def init(server, eventHandler): if event is None: continue #print event - if event[0].startswith('bb.event.Pkg'): - print "NOTE: %s" % event[1]['_message'] - continue if event[0].startswith('bb.msg.MsgPlain'): print event[1]['_message'] continue @@ -75,12 +72,16 @@ def init(server, eventHandler): return_value = 1 print 'ERROR: ' + event[1]['_message'] continue + if event[0].startswith('bb.msg.MsgFatal'): + return_value = 1 + print 'FATAL: ' + event[1]['_message'] + break if event[0].startswith('bb.build.TaskFailed'): return_value = 1 logfile = event[1]['logfile'] if logfile: print "ERROR: Logfile of failure stored in %s." % logfile - if includelogs: + if 1 or includelogs: print "Log data follows:" f = open(logfile, "r") lines = [] @@ -140,6 +141,8 @@ def init(server, eventHandler): continue if event[0].startswith('bb.event.StampUpdate'): continue + if event[0].startswith('bb.event.ConfigParsed'): + continue print "Unknown Event: %s" % event except KeyboardInterrupt: |