diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index d6afa21542..0b79f92e25 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py | |||
@@ -402,8 +402,8 @@ def better_exec(code, context, text = None, realfile = "<code>", pythonexception | |||
402 | (t, value, tb) = sys.exc_info() | 402 | (t, value, tb) = sys.exc_info() |
403 | try: | 403 | try: |
404 | _print_exception(t, value, tb, realfile, text, context) | 404 | _print_exception(t, value, tb, realfile, text, context) |
405 | except Exception as e: | 405 | except Exception as e2: |
406 | logger.error("Exception handler error: %s" % str(e)) | 406 | logger.error("Exception handler error: %s" % str(e2)) |
407 | 407 | ||
408 | e = bb.BBHandledException(e) | 408 | e = bb.BBHandledException(e) |
409 | raise e | 409 | raise e |