We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff74862 commit 0a0cb6aCopy full SHA for 0a0cb6a
scripts/release_sign.py
@@ -43,7 +43,7 @@
43
44
def alg_mod_from_str(alg):
45
"""Returns the PyCrypto hash module that corresponds to [alg]."""
46
- if alg is 'SHA1':
+ if alg == 'SHA1':
47
alg = 'SHA'
48
return importlib.import_module('Crypto.Hash.' + alg)
49
0 commit comments