From b6b37f065c5715c04442184ca20c86258f1c1714 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 6 Nov 2008 00:12:31 +0000 Subject: bitbake: Improve error message for missing class files --- bitbake-dev/lib/bb/cooker.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'bitbake-dev') 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) ) -- cgit v1.2.3