summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2017-04-26 17:55:35 -0500
committerTodd Gamblin <tgamblin@llnl.gov>2017-04-26 15:55:35 -0700
commit91b32f67ccbb2217804461a0a64d2e09289b486b (patch)
treed6275e2f41955cd88723cc06113814771c57b489 /lib
parent0403a0850946fda51738a3be88b884ffdfddf10f (diff)
downloadspack-91b32f67ccbb2217804461a0a64d2e09289b486b.tar.gz
spack-91b32f67ccbb2217804461a0a64d2e09289b486b.tar.bz2
spack-91b32f67ccbb2217804461a0a64d2e09289b486b.tar.xz
spack-91b32f67ccbb2217804461a0a64d2e09289b486b.zip
Fix alignment of versions and urls in spack checksum (#4003)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/checksum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/checksum.py b/lib/spack/spack/cmd/checksum.py
index 4ea31efe08..e0b7fd897d 100644
--- a/lib/spack/spack/cmd/checksum.py
+++ b/lib/spack/spack/cmd/checksum.py
@@ -78,7 +78,7 @@ def get_checksums(url_dict, name, **kwargs):
num_ver, '' if num_ver == 1 else 's', name),
"",
*spack.cmd.elide_list(
- ["{0:{1}} {2}".format(v, max_len, url_dict[v])
+ ["{0:{1}} {2}".format(str(v), max_len, url_dict[v])
for v in sorted_versions]))
print()