Skip to content

Commit

Permalink
improve error message produced by verify_checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Sep 9, 2023
1 parent 182881b commit f60d2c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/tools/filetools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1298,8 +1298,8 @@ def verify_checksum(path, checksums):
# no matching checksums
return False
else:
raise EasyBuildError("Invalid checksum spec '%s', should be a string (MD5 or SHA256) "
"2-tuple (type, value) or tuple of alternative checksum specs.",
raise EasyBuildError("Invalid checksum spec '%s': should be a string (MD5 or SHA256), "
"2-tuple (type, value), or tuple of alternative checksum specs.",
checksum)

actual_checksum = compute_checksum(path, typ)
Expand Down

0 comments on commit f60d2c6

Please sign in to comment.