Skip to content

Commit ea08e93

Browse files
authored
Display proper message when patch checksum doesn't match (spack#24229)
1 parent dcb3fbf commit ea08e93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/spack/spack/patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def from_dict(dictionary):
291291
if not checker.check(patch.path):
292292
raise fs.ChecksumError(
293293
"sha256 checksum failed for %s" % patch.path,
294-
"Expected %s but got %s" % (sha256, checker.sum),
294+
"Expected %s but got %s " % (sha256, checker.sum) +
295295
"Patch may have changed since concretization.")
296296
return patch
297297
else:

0 commit comments

Comments
 (0)