summaryrefslogtreecommitdiff
path: root/bitbake-dev/lib
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-11-06 00:12:31 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-11-06 00:12:31 +0000
commitb6b37f065c5715c04442184ca20c86258f1c1714 (patch)
tree400023feba066116e83b9bb209c3814dfa80a0c1 /bitbake-dev/lib
parent4ba6a52d7ec989d4960ccc11402101257ee96c67 (diff)
downloadopenembedded-core-b6b37f065c5715c04442184ca20c86258f1c1714.tar.gz
openembedded-core-b6b37f065c5715c04442184ca20c86258f1c1714.tar.bz2
openembedded-core-b6b37f065c5715c04442184ca20c86258f1c1714.tar.xz
openembedded-core-b6b37f065c5715c04442184ca20c86258f1c1714.zip
bitbake: Improve error message for missing class files
Diffstat (limited to 'bitbake-dev/lib')
-rw-r--r--bitbake-dev/lib/bb/cooker.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/bitbake-dev/lib/bb/cooker.py b/bitbake-dev/lib/bb/cooker.py
index ead76ca6b..86229799f 100644
--- a/bitbake-dev/lib/bb/cooker.py
+++ b/bitbake-dev/lib/bb/cooker.py
@@ -540,8 +540,6 @@ class BBCooker:
except IOError, e:
bb.msg.fatal(bb.msg.domain.Parsing, "Error when parsing %s: %s" % (afile, str(e)))
- except IOError:
- bb.msg.fatal(bb.msg.domain.Parsing, "Unable to open %s" % afile )
except bb.parse.ParseError, details:
bb.msg.fatal(bb.msg.domain.Parsing, "Unable to parse %s (%s)" % (afile, details) )