diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index 00b854e240..c08e2ce1f5 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py @@ -69,6 +69,7 @@ class Command: except CommandError as exc: return None, exc.args[0] except Exception: + import traceback return None, traceback.format_exc() else: return result, None