Skip to content

Commit

Permalink
Merge branch 'fix-checksum-check' of github.com:Flamefire/easybuild-f…
Browse files Browse the repository at this point in the history
…ramework into fix-checksum-check
  • Loading branch information
boegel committed Sep 9, 2023
2 parents d0d24e6 + 95c788f commit 182881b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion easybuild/tools/filetools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +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 2-tuple (type, value).",
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 182881b

Please sign in to comment.