diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-11-06 00:12:31 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-11-06 00:12:31 +0000 |
commit | b6b37f065c5715c04442184ca20c86258f1c1714 (patch) | |
tree | 400023feba066116e83b9bb209c3814dfa80a0c1 /bitbake-dev/lib | |
parent | 4ba6a52d7ec989d4960ccc11402101257ee96c67 (diff) | |
download | poky-b6b37f065c5715c04442184ca20c86258f1c1714.tar.gz |
bitbake: Improve error message for missing class files
Diffstat (limited to 'bitbake-dev/lib')
-rw-r--r-- | bitbake-dev/lib/bb/cooker.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bitbake-dev/lib/bb/cooker.py b/bitbake-dev/lib/bb/cooker.py index ead76ca6ba..86229799f2 100644 --- a/bitbake-dev/lib/bb/cooker.py +++ b/bitbake-dev/lib/bb/cooker.py | |||
@@ -540,8 +540,6 @@ class BBCooker: | |||
540 | 540 | ||
541 | except IOError, e: | 541 | except IOError, e: |
542 | bb.msg.fatal(bb.msg.domain.Parsing, "Error when parsing %s: %s" % (afile, str(e))) | 542 | bb.msg.fatal(bb.msg.domain.Parsing, "Error when parsing %s: %s" % (afile, str(e))) |
543 | except IOError: | ||
544 | bb.msg.fatal(bb.msg.domain.Parsing, "Unable to open %s" % afile ) | ||
545 | except bb.parse.ParseError, details: | 543 | except bb.parse.ParseError, details: |
546 | bb.msg.fatal(bb.msg.domain.Parsing, "Unable to parse %s (%s)" % (afile, details) ) | 544 | bb.msg.fatal(bb.msg.domain.Parsing, "Unable to parse %s (%s)" % (afile, details) ) |
547 | 545 | ||