diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2020-07-01 09:46:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-01 09:46:20 -0500 |
commit | 6a77f1ff457600523477380257bd698b8824648e (patch) | |
tree | 7d710a4b8d43ccd0469ebc6b56ff35d13819af27 | |
parent | 60283775b30b85469e663b321a4718fc06a55752 (diff) | |
download | spack-6a77f1ff457600523477380257bd698b8824648e.tar.gz spack-6a77f1ff457600523477380257bd698b8824648e.tar.bz2 spack-6a77f1ff457600523477380257bd698b8824648e.tar.xz spack-6a77f1ff457600523477380257bd698b8824648e.zip |
Fix hashlib function capitalization (#17323)
-rw-r--r-- | lib/spack/spack/util/crypto.py | 2 |
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 |