poky/bitbake/lib/bb/parse/parse_py
Christopher Larson 22078d5e53 bitbake: bb.parse: properly error out on filesystem errors
We've had a long-standing bug where a legitimate error reading a file (IOError
or OSError) is always suppressed as though it was a 'file not found' case. As
a concrete example, if you do a `chmod 000 conf/local.conf`, it'll silently
not parse local.conf, rather than erroring to let the user know about the
problem.

Fix this by handling the ENOENT case specifically.

(Bitbake rev: e691312a3add222b04e7b2f52f8df6abcb9068bf)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01 22:24:20 +01:00
..
__init__.py 3.0 prep 2010-07-02 15:41:37 +01:00
BBHandler.py bitbake: bitbake: Add explict getVar param for (non) expansion 2015-06-23 11:57:53 +01:00
ConfHandler.py bitbake: bb.parse: properly error out on filesystem errors 2015-08-01 22:24:20 +01:00