summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-08-24 14:10:25 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-08-24 14:10:25 -0700
commit062ff13da6e8b14a9689c77fc55c7ba2a73b02e8 (patch)
treedd49da18e5c979d596b3a028a13cd9434efad641
parent93cb2db531ef16c86fc1875e055837ec86c2f69e (diff)
downloadspack-062ff13da6e8b14a9689c77fc55c7ba2a73b02e8.tar.gz
spack-062ff13da6e8b14a9689c77fc55c7ba2a73b02e8.tar.bz2
spack-062ff13da6e8b14a9689c77fc55c7ba2a73b02e8.tar.xz
spack-062ff13da6e8b14a9689c77fc55c7ba2a73b02e8.zip
Make `spack info` print deps in sorted order
-rw-r--r--lib/spack/spack/cmd/info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/info.py b/lib/spack/spack/cmd/info.py
index 498518057b..2fa3a07525 100644
--- a/lib/spack/spack/cmd/info.py
+++ b/lib/spack/spack/cmd/info.py
@@ -87,7 +87,7 @@ def print_text_info(pkg):
for deptype in ('build', 'link', 'run'):
print
print "%s Dependencies:" % deptype.capitalize()
- deps = pkg.dependencies_of_type(deptype)
+ deps = sorted(pkg.dependencies_of_type(deptype))
if deps:
colify(deps, indent=4)
else: