summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/util/crypto.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/util/crypto.py b/lib/spack/spack/util/crypto.py
index 74a6ee06bd..7e264ff0c7 100644
--- a/lib/spack/spack/util/crypto.py
+++ b/lib/spack/spack/util/crypto.py
@@ -45,7 +45,8 @@ class DeprecatedHash(object):
" supported in future Spack releases."
.format(self.hash_alg))
if self.disable_security_check:
- return hashlib.new(self.hash_alg, usedforsecurity=False)
+ return hashlib.new( # novermin
+ self.hash_alg, usedforsecurity=False)
else:
return hashlib.new(self.hash_alg)