All of lore.kernel.org
 help / color / mirror / Atom feed
* Christopher Larson : cooker: add missing shutdowns to the exception handling
@ 2012-01-31 17:50 git
  0 siblings, 0 replies; only message in thread
From: git @ 2012-01-31 17:50 UTC (permalink / raw)
  To: bitbake-devel

Module: bitbake.git
Branch: master
Commit: c9f58ef6b897d3fa5b0d23734b5f2cb3dabb057a
URL:    http://git.openembedded.org/?p=bitbake.git&a=commit;h=c9f58ef6b897d3fa5b0d23734b5f2cb3dabb057a

Author: Christopher Larson <chris_larson@mentor.com>
Date:   Tue Jan 31 11:47:07 2012 -0600

cooker: add missing shutdowns to the exception handling

Signed-off-by: Christopher Larson <chris_larson@mentor.com>

---

 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 b6bd740..ac99e91 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:




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-31 18:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-31 17:50 Christopher Larson : cooker: add missing shutdowns to the exception handling git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.