summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/parse/parse_py/BBHandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py
index ac981b8346..d1d8657b38 100644
--- a/bitbake/lib/bb/parse/parse_py/BBHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py
@@ -74,7 +74,7 @@ def inherit(files, d):
74 lineno = 0 74 lineno = 0
75 for file in files: 75 for file in files:
76 file = data.expand(file, d) 76 file = data.expand(file, d)
77 if file[0] != "/" and file[-8:] != ".bbclass": 77 if not os.path.isabs(file) and not file.endswith(".bbclass"):
78 file = os.path.join('classes', '%s.bbclass' % file) 78 file = os.path.join('classes', '%s.bbclass' % file)
79 79
80 if not file in __inherit_cache: 80 if not file in __inherit_cache: