summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 340e5d91f8..a06c1c1905 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -27,7 +27,7 @@ def base_read_file(filename):
try:
f = file( filename, "r" )
except IOError, reason:
- raise bb.build.FuncFailed("can't read from file '%s' (%s)", (filename,reason))
+ return "" # WARNING: can't raise an error now because of the new RDEPENDS handling. This is a bit ugly. :M:
else:
return f.read().strip()
return None