From 6a77f1ff457600523477380257bd698b8824648e Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Wed, 1 Jul 2020 09:46:20 -0500 Subject: [PATCH] Fix hashlib function capitalization (#17323) --- lib/spack/spack/util/crypto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/util/crypto.py b/lib/spack/spack/util/crypto.py index 566e99da21..74a6ee06bd 100644 --- a/lib/spack/spack/util/crypto.py +++ b/lib/spack/spack/util/crypto.py @@ -133,7 +133,7 @@ def __init__(self, hexdigest, **kwargs): @property def hash_name(self): """Get the name of the hash function this Checker is using.""" - return self.hash_fun().name + return self.hash_fun().name.lower() def check(self, filename): """Read the file with the specified name and check its checksum