From 2e0ef25a50c6a31cd6de52dfb31a04b77e694da3 Mon Sep 17 00:00:00 2001 From: Bob Foerster Date: Fri, 17 Dec 2010 23:20:39 +0800 Subject: Resurrect alternative UIs The various alternative UIs have been updated to once again be functional with the latest bitbake internals. Each of the UIs still have much room for functional improvement. In particular, they have been updated to: - interact with the new process based server - handle the current set of events and notifications fired from the server and its associated subsystems (Bitbake rev: b947e7aa405966262c0614cae02e7978ec637095) Signed-off-by: Bob Foerster Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/knotty.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bitbake/lib/bb/ui/knotty.py') diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 2e9c6f3f2..4d87a3d7c 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py @@ -228,6 +228,10 @@ def main(server, eventHandler): logger.error("Unknown event: %s", event) + except EnvironmentError as ioerror: + # ignore interrupted io + if ioerror.args[0] == 4: + pass except KeyboardInterrupt: if shutdown == 2: print("\nThird Keyboard Interrupt, exit.\n") -- cgit v1.2.3