diff options
Diffstat (limited to 'bitbake/lib/bb/parse/parse_py/ConfHandler.py')
-rw-r--r-- | bitbake/lib/bb/parse/parse_py/ConfHandler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/ConfHandler.py b/bitbake/lib/bb/parse/parse_py/ConfHandler.py index 7d4a5b14a7..7b30c8acb3 100644 --- a/bitbake/lib/bb/parse/parse_py/ConfHandler.py +++ b/bitbake/lib/bb/parse/parse_py/ConfHandler.py | |||
@@ -89,7 +89,7 @@ def include(oldfn, fn, lineno, data, error_out): | |||
89 | from bb.parse import handle | 89 | from bb.parse import handle |
90 | try: | 90 | try: |
91 | ret = handle(fn, data, True) | 91 | ret = handle(fn, data, True) |
92 | except IOError: | 92 | except (IOError, OSError): |
93 | if error_out: | 93 | if error_out: |
94 | raise ParseError("Could not %(error_out)s file %(fn)s" % vars(), oldfn, lineno) | 94 | raise ParseError("Could not %(error_out)s file %(fn)s" % vars(), oldfn, lineno) |
95 | logger.debug(2, "CONF file '%s' not found", fn) | 95 | logger.debug(2, "CONF file '%s' not found", fn) |