summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/parse
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-04-20 11:53:31 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-02 15:41:34 +0100
commitc3eae29efa2318ee4f12b1e1c8d562e18d1cee87 (patch)
tree66adc15f52ffd35621389d9de05df3adf76a1f90 /bitbake/lib/bb/parse
parent214d1f7433fd8571c3e0920624ce07f31c7f08c9 (diff)
downloadopenembedded-core-c3eae29efa2318ee4f12b1e1c8d562e18d1cee87.tar.gz
openembedded-core-c3eae29efa2318ee4f12b1e1c8d562e18d1cee87.tar.bz2
openembedded-core-c3eae29efa2318ee4f12b1e1c8d562e18d1cee87.zip
Don't try to expand non-string values
(Bitbake rev: fe36a726b9f930bbd6fd758c0aee78559e95f02b) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/parse')
-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 a388773bb7..52fd8285ed 100644
--- a/bitbake/lib/bb/parse/parse_py/BBHandler.py
+++ b/bitbake/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)