diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2014-09-29 23:27:40 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2014-09-29 23:27:40 -0700 |
commit | 26495ddce940dbf47c8b1bc84d4fdb8ff61217df (patch) | |
tree | 1d85de016e0b82954936f5bca05f647394c73eda /lib | |
parent | e4613a60cfa47f30c67173e9298e9b2672d91603 (diff) | |
download | spack-26495ddce940dbf47c8b1bc84d4fdb8ff61217df.tar.gz spack-26495ddce940dbf47c8b1bc84d4fdb8ff61217df.tar.bz2 spack-26495ddce940dbf47c8b1bc84d4fdb8ff61217df.tar.xz spack-26495ddce940dbf47c8b1bc84d4fdb8ff61217df.zip |
Reverse sort output versions in spack checksum
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/cmd/checksum.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/checksum.py b/lib/spack/spack/cmd/checksum.py index 8a52178833..f9218b9df1 100644 --- a/lib/spack/spack/cmd/checksum.py +++ b/lib/spack/spack/cmd/checksum.py @@ -96,7 +96,7 @@ def checksum(parser, args): if not versions: tty.die("Could not fetch any available versions for %s." % pkg.name) - versions = list(reversed(versions)) + versions = list(reversed(sorted(versions))) urls = [pkg.url_for_version(v) for v in versions] |