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/lib/bb/cooker.py | |
parent | 4ba6a52d7ec989d4960ccc11402101257ee96c67 (diff) | |
download | poky-b6b37f065c5715c04442184ca20c86258f1c1714.tar.gz |
bitbake: Improve error message for missing class files
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index c5d640da80..6a6d254d7a 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -404,8 +404,8 @@ class BBCooker: | |||
404 | 404 | ||
405 | bb.event.fire(bb.event.ConfigParsed(self.configuration.data)) | 405 | bb.event.fire(bb.event.ConfigParsed(self.configuration.data)) |
406 | 406 | ||
407 | except IOError: | 407 | except IOError, e: |
408 | bb.msg.fatal(bb.msg.domain.Parsing, "Unable to open %s" % afile ) | 408 | bb.msg.fatal(bb.msg.domain.Parsing, "IO Error: %s" % str(e) ) |
409 | except bb.parse.ParseError, details: | 409 | except bb.parse.ParseError, details: |
410 | bb.msg.fatal(bb.msg.domain.Parsing, "Unable to parse %s (%s)" % (afile, details) ) | 410 | bb.msg.fatal(bb.msg.domain.Parsing, "Unable to parse %s (%s)" % (afile, details) ) |
411 | 411 | ||