diff options
author | Yang Zongze <yangzongze@gmail.com> | 2021-01-30 03:05:36 +0800 |
---|---|---|
committer | Tamara Dahlgren <dahlgren1@llnl.gov> | 2021-02-17 17:07:45 -0800 |
commit | 40d32890d078d1ce70fa2f44777903d8b50ad9ae (patch) | |
tree | 51fadb1be13aad995e620d803cc05e25bc25df93 | |
parent | 18022050f21130cfcce1ad9d8ff17bca4ba3f7cc (diff) | |
download | spack-40d32890d078d1ce70fa2f44777903d8b50ad9ae.tar.gz spack-40d32890d078d1ce70fa2f44777903d8b50ad9ae.tar.bz2 spack-40d32890d078d1ce70fa2f44777903d8b50ad9ae.tar.xz spack-40d32890d078d1ce70fa2f44777903d8b50ad9ae.zip |
Print groups properly for spack find -d (#20028)
-rw-r--r-- | lib/spack/spack/cmd/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/__init__.py b/lib/spack/spack/cmd/__init__.py index d48301f5de..130abea4cc 100644 --- a/lib/spack/spack/cmd/__init__.py +++ b/lib/spack/spack/cmd/__init__.py @@ -435,7 +435,7 @@ def display_specs(specs, args=None, **kwargs): 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)) |