Skip to content

Commit

Permalink
parse: Don't try to expand __base_depends/__depends
Browse files Browse the repository at this point in the history
Trying to expand a variable which isn't a string doesn't make sense.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
  • Loading branch information
rpurdie committed Nov 16, 2015
1 parent 54d0ddd commit 62367cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bb/parse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ def vars_from_file(mypkg, d):
def get_file_depends(d):
'''Return the dependent files'''
dep_files = []
depends = d.getVar('__base_depends', True) or []
depends = depends + (d.getVar('__depends', True) or [])
depends = d.getVar('__base_depends', False) or []
depends = depends + (d.getVar('__depends', False) or [])
for (fn, _) in depends:
dep_files.append(os.path.abspath(fn))
return " ".join(dep_files)
Expand Down

0 comments on commit 62367cc

Please sign in to comment.