Skip to content

Commit 182881b

Browse files
committed
Merge branch 'fix-checksum-check' of github.com:Flamefire/easybuild-framework into fix-checksum-check
2 parents d0d24e6 + 95c788f commit 182881b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

easybuild/tools/filetools.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1298,7 +1298,8 @@ def verify_checksum(path, checksums):
12981298
# no matching checksums
12991299
return False
13001300
else:
1301-
raise EasyBuildError("Invalid checksum spec '%s', should be a string (MD5) or 2-tuple (type, value).",
1301+
raise EasyBuildError("Invalid checksum spec '%s', should be a string (MD5 or SHA256) "
1302+
"2-tuple (type, value) or tuple of alternative checksum specs.",
13021303
checksum)
13031304

13041305
actual_checksum = compute_checksum(path, typ)

0 commit comments

Comments
 (0)