diff options
author | Phil Blundell <philb@gnu.org> | 2004-12-03 19:52:22 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-12-03 19:52:22 +0000 |
commit | 2f9ed9c4fd84ff99fba694925034750668a72582 (patch) | |
tree | 843051e3c1daa52e9d73b7bfa05788b1d9631c2c | |
parent | aff3227b5e4a3dee9bceb120aac11f4bf3ac6409 (diff) | |
download | bitbake-contrib-2f9ed9c4fd84ff99fba694925034750668a72582.tar.gz |
if an exception occurs, during parsing, show which file caused it.
be sure to propagate KeyboardInterrupt up correctly.
-rw-r--r-- | bin/oe/make.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/oe/make.py b/bin/oe/make.py index df4c1e8ed..ba3adeaf6 100644 --- a/bin/oe/make.py +++ b/bin/oe/make.py @@ -191,6 +191,11 @@ def collect_oefiles( progressCallback ): pass except oe.parse.SkipPackage: skipped += 1 + pass + except KeyboardInterrupt: + raise + except Exception, e: + oe.error("%s while parsing %s" % (e, f)) print "\rNOTE: Parsing finished. %d cached, %d parsed, %d skipped, %d masked." % ( cached, parsed, skipped, masked ), def explode_version(s): |