BBHandler.py: make inherit fail if the class doesn't exist (#1478)
authorRichard Purdie <rpurdie@linux.intel.com>
Sun, 5 Nov 2006 11:14:56 +0000 (11:14 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Sun, 5 Nov 2006 11:14:56 +0000 (11:14 +0000)
lib/bb/parse/parse_py/BBHandler.py

index 2f87107..9654f2b 100644 (file)
@@ -62,7 +62,7 @@ def inherit(files, d):
         if not file in __inherit_cache.split():
             bb.msg.debug(2, bb.msg.domain.Parsing, "BB %s:%d: inheriting %s" % (fn, lineno, file))
             __inherit_cache += " %s" % file
-            include(fn, file, d)
+            include(fn, file, d, True)
     data.setVar('__inherit_cache', __inherit_cache, d)