summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-09-10 11:33:48 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:35 +0000
commitbfe4bec8adfc50106406ef8c097075a2e507a7eb (patch)
tree1ab7c1338aaf40791b24ddd5be4ede3acec7a75f
parent7afe34e2c22904024f7082d3cf0f42550a10d83e (diff)
downloadopenembedded-core-bfe4bec8adfc50106406ef8c097075a2e507a7eb.tar.gz
openembedded-core-bfe4bec8adfc50106406ef8c097075a2e507a7eb.tar.bz2
openembedded-core-bfe4bec8adfc50106406ef8c097075a2e507a7eb.tar.xz
openembedded-core-bfe4bec8adfc50106406ef8c097075a2e507a7eb.zip
Don't show tracebacks for SystemExit or KeyboardInterrupt
(Bitbake rev: d71984b3934c3dd9791c3bc00f332b79a1985a05) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--bitbake/lib/bb/utils.py2
1 files changed, 1 insertions, 1 deletions
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>"):
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]: