Display proper message when patch checksum doesn't match (#24229)
This commit is contained in:
parent
dcb3fbf98e
commit
ea08e93f2f
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ def from_dict(dictionary):
|
||||||
if not checker.check(patch.path):
|
if not checker.check(patch.path):
|
||||||
raise fs.ChecksumError(
|
raise fs.ChecksumError(
|
||||||
"sha256 checksum failed for %s" % patch.path,
|
"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.")
|
"Patch may have changed since concretization.")
|
||||||
return patch
|
return patch
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue