aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/parse/parse_py/BBHandler.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-04-20 11:53:31 -0700
committerChris Larson <chris_larson@mentor.com>2010-04-20 13:45:08 -0700
commitfe36a726b9f930bbd6fd758c0aee78559e95f02b (patch)
tree0281805070fda185dea393e7cbe1b76968b356c5 /lib/bb/parse/parse_py/BBHandler.py
parentf936f1c0edf70860ea0f39ec1a500ba43b56f289 (diff)
downloadbitbake-contrib-fe36a726b9f930bbd6fd758c0aee78559e95f02b.tar.gz
Don't try to expand non-string values
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/parse/parse_py/BBHandler.py')
-rw-r--r--lib/bb/parse/parse_py/BBHandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/parse/parse_py/BBHandler.py b/lib/bb/parse/parse_py/BBHandler.py
index a388773bb..52fd8285e 100644
--- a/lib/bb/parse/parse_py/BBHandler.py
+++ b/lib/bb/parse/parse_py/BBHandler.py
@@ -68,8 +68,8 @@ def inherit(files, d):
__inherit_cache = data.getVar('__inherit_cache', d) or []
fn = ""
lineno = 0
- files = data.expand(files, d)
for file in files:
+ file = data.expand(file, d)
if file[0] != "/" and file[-8:] != ".bbclass":
file = os.path.join('classes', '%s.bbclass' % file)