summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/parse/parse_py/BBHandler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py
index d1d8657b38..81554b9435 100644
--- a/bitbake/lib/bb/parse/parse_py/BBHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py
@@ -121,8 +121,8 @@ def handle(fn, d, include):
121 else: 121 else:
122 logger.debug(2, "BB %s: handle(data, include)", fn) 122 logger.debug(2, "BB %s: handle(data, include)", fn)
123 123
124 (root, ext) = os.path.splitext(os.path.basename(fn)) 124 base_name = os.path.basename(fn)
125 base_name = "%s%s" % (root, ext) 125 (root, ext) = os.path.splitext(base_name)
126 init(d) 126 init(d)
127 127
128 if ext == ".bbclass": 128 if ext == ".bbclass":