From bfe4bec8adfc50106406ef8c097075a2e507a7eb Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 10 Sep 2010 11:33:48 -0700 Subject: Don't show tracebacks for SystemExit or KeyboardInterrupt (Bitbake rev: d71984b3934c3dd9791c3bc00f332b79a1985a05) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb') diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index 47fef8c1a..f5336dda6 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py @@ -348,7 +348,7 @@ def better_exec(code, context, text, realfile = ""): code = better_compile(code, realfile, realfile) try: exec(code, _context, context) - except: + except Exception: (t, value, tb) = sys.exc_info() if t in [bb.parse.SkipPackage, bb.build.FuncFailed]: -- cgit v1.2.3