diff options
author | Christopher Larson <chris_larson@mentor.com> | 2012-01-31 11:47:07 -0600 |
---|---|---|
committer | Christopher Larson <chris_larson@mentor.com> | 2012-01-31 11:47:07 -0600 |
commit | c9f58ef6b897d3fa5b0d23734b5f2cb3dabb057a (patch) | |
tree | 7072a854bb7fca85eff594078b89406d12df7fa0 /lib | |
parent | e1b157d26374a70e6274edcb4c0b9f3bc48f765c (diff) | |
download | bitbake-contrib-c9f58ef6b897d3fa5b0d23734b5f2cb3dabb057a.tar.gz |
cooker: add missing shutdowns to the exception handling
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/cooker.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index b6bd7400f..ac99e914d 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -1519,8 +1519,10 @@ class CookerParser(object): bb.fatal('Unable to parse %s: %s' % (exc.recipe, bb.exceptions.to_string(exc.realexception))) except (bb.parse.ParseError, bb.data_smart.ExpansionError) as exc: + self.shutdown(clean=False) bb.fatal(str(exc)) except SyntaxError as exc: + self.shutdown(clean=False) logger.error('Unable to parse %s', exc.recipe) sys.exit(1) except Exception as exc: |