diff options
Diffstat (limited to 'classes/base.oeclass')
-rw-r--r-- | classes/base.oeclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/base.oeclass b/classes/base.oeclass index 88b0b3e0be..b2a134cd62 100644 --- a/classes/base.oeclass +++ b/classes/base.oeclass @@ -16,10 +16,11 @@ def base_dep_prepend(d): return deps def base_read_file(filename): + import oe try: f = file( filename, "r" ) except IOError, reason: - return "<unknown>:%s" % reason + raise oe.build.FuncFailed("can't read from file '%s' (%s)", (filename,reason)) else: return f.read().strip() return None |