summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/utils.py
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 /bitbake/lib/bb/utils.py
parent7afe34e2c22904024f7082d3cf0f42550a10d83e (diff)
downloadpoky-bfe4bec8adfc50106406ef8c097075a2e507a7eb.tar.gz
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>
Diffstat (limited to 'bitbake/lib/bb/utils.py')
-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 47fef8c1a9..f5336dda60 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>"):
348 code = better_compile(code, realfile, realfile) 348 code = better_compile(code, realfile, realfile)
349 try: 349 try:
350 exec(code, _context, context) 350 exec(code, _context, context)
351 except: 351 except Exception:
352 (t, value, tb) = sys.exc_info() 352 (t, value, tb) = sys.exc_info()
353 353
354 if t in [bb.parse.SkipPackage, bb.build.FuncFailed]: 354 if t in [bb.parse.SkipPackage, bb.build.FuncFailed]: