summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-07-01 09:46:20 -0500
committerGitHub <noreply@github.com>2020-07-01 09:46:20 -0500
commit6a77f1ff457600523477380257bd698b8824648e (patch)
tree7d710a4b8d43ccd0469ebc6b56ff35d13819af27 /lib
parent60283775b30b85469e663b321a4718fc06a55752 (diff)
downloadspack-6a77f1ff457600523477380257bd698b8824648e.tar.gz
spack-6a77f1ff457600523477380257bd698b8824648e.tar.bz2
spack-6a77f1ff457600523477380257bd698b8824648e.tar.xz
spack-6a77f1ff457600523477380257bd698b8824648e.zip
Fix hashlib function capitalization (#17323)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/util/crypto.py2
1 files changed, 1 insertions, 1 deletions
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 @@ class Checker(object):
@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