diff options
-rw-r--r-- | lib/spack/spack/cmd/checksum.py | 1 | ||||
-rw-r--r-- | lib/spack/spack/stage.py | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/spack/spack/cmd/checksum.py b/lib/spack/spack/cmd/checksum.py index 2518dfef9f..d8407651b6 100644 --- a/lib/spack/spack/cmd/checksum.py +++ b/lib/spack/spack/cmd/checksum.py @@ -61,3 +61,4 @@ def checksum(parser, args): print() print(version_lines) + print() diff --git a/lib/spack/spack/stage.py b/lib/spack/spack/stage.py index d2dd3e6e7a..164ed91b2f 100644 --- a/lib/spack/spack/stage.py +++ b/lib/spack/spack/stage.py @@ -3,6 +3,8 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +from __future__ import print_function + import os import stat import sys @@ -760,7 +762,7 @@ def get_checksums_for_versions( *spack.cmd.elide_list( ["{0:{1}} {2}".format(str(v), max_len, url_dict[v]) for v in sorted_versions])) - tty.msg('') + print() archives_to_fetch = tty.get_number( "How many would you like to checksum?", default=1, abort='q') @@ -807,7 +809,7 @@ def get_checksums_for_versions( ]) num_hash = len(version_hashes) - tty.msg("Checksummed {0} version{1} of {2}".format( + tty.msg("Checksummed {0} version{1} of {2}:".format( num_hash, '' if num_hash == 1 else 's', name)) return version_lines |