diff options
author | iarspider <iarspider@gmail.com> | 2021-06-11 10:31:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-11 10:31:33 +0200 |
commit | ea08e93f2fcd2deb8e89b0567566ef32e00aef86 (patch) | |
tree | 4e944ca9f2f1141346451f1afaccd57257c857e4 /lib/spack | |
parent | dcb3fbf98e9de02aca3ddc469b5e80966baeec96 (diff) | |
download | spack-ea08e93f2fcd2deb8e89b0567566ef32e00aef86.tar.gz spack-ea08e93f2fcd2deb8e89b0567566ef32e00aef86.tar.bz2 spack-ea08e93f2fcd2deb8e89b0567566ef32e00aef86.tar.xz spack-ea08e93f2fcd2deb8e89b0567566ef32e00aef86.zip |
Display proper message when patch checksum doesn't match (#24229)
Diffstat (limited to 'lib/spack')
-rw-r--r-- | lib/spack/spack/patch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/patch.py b/lib/spack/spack/patch.py index d38b2ef767..8eb7b8146f 100644 --- a/lib/spack/spack/patch.py +++ b/lib/spack/spack/patch.py @@ -291,7 +291,7 @@ def from_dict(dictionary): if not checker.check(patch.path): raise fs.ChecksumError( "sha256 checksum failed for %s" % patch.path, - "Expected %s but got %s" % (sha256, checker.sum), + "Expected %s but got %s " % (sha256, checker.sum) + "Patch may have changed since concretization.") return patch else: |