diff options
-rw-r--r-- | bitbake/lib/bb/utils.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index b2f8bb6f89..44419d8f2a 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py | |||
@@ -279,7 +279,7 @@ def explode_dep_versions(s): | |||
279 | 279 | ||
280 | return r | 280 | return r |
281 | 281 | ||
282 | def join_deps(deps): | 282 | def join_deps(deps, commasep=True): |
283 | """ | 283 | """ |
284 | Take the result from explode_dep_versions and generate a dependency string | 284 | Take the result from explode_dep_versions and generate a dependency string |
285 | """ | 285 | """ |
@@ -289,7 +289,10 @@ def join_deps(deps): | |||
289 | result.append(dep + " (" + deps[dep] + ")") | 289 | result.append(dep + " (" + deps[dep] + ")") |
290 | else: | 290 | else: |
291 | result.append(dep) | 291 | result.append(dep) |
292 | return ", ".join(result) | 292 | if commasep: |
293 | return ", ".join(result) | ||
294 | else: | ||
295 | return " ".join(result) | ||
293 | 296 | ||
294 | def _print_trace(body, line): | 297 | def _print_trace(body, line): |
295 | """ | 298 | """ |