Print groups properly for spack find -d (#20028)
This commit is contained in:
parent
18022050f2
commit
40d32890d0
1 changed files with 1 additions and 1 deletions
|
@ -435,7 +435,7 @@ def format_list(specs):
|
|||
out = ''
|
||||
if groups:
|
||||
for specs in iter_groups(specs, indent, all_headers):
|
||||
out += format_list(specs)
|
||||
output.write(format_list(specs))
|
||||
else:
|
||||
out = format_list(sorted(specs))
|
||||
|
||||
|
|
Loading…
Reference in a new issue