mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
bitbake/utils.py: Allow join_deps to return a list that isn't comman separated
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
0d0279a881
commit
2069a29a82
|
|
@ -279,7 +279,7 @@ def explode_dep_versions(s):
|
|||
|
||||
return r
|
||||
|
||||
def join_deps(deps):
|
||||
def join_deps(deps, commasep=True):
|
||||
"""
|
||||
Take the result from explode_dep_versions and generate a dependency string
|
||||
"""
|
||||
|
|
@ -289,7 +289,10 @@ def join_deps(deps):
|
|||
result.append(dep + " (" + deps[dep] + ")")
|
||||
else:
|
||||
result.append(dep)
|
||||
return ", ".join(result)
|
||||
if commasep:
|
||||
return ", ".join(result)
|
||||
else:
|
||||
return " ".join(result)
|
||||
|
||||
def _print_trace(body, line):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user