Skip to content

Commit 0a0cb6a

Browse files
committed
scripts: fix warning in release_sign.py
1 parent ff74862 commit 0a0cb6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release_sign.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
def alg_mod_from_str(alg):
4545
"""Returns the PyCrypto hash module that corresponds to [alg]."""
46-
if alg is 'SHA1':
46+
if alg == 'SHA1':
4747
alg = 'SHA'
4848
return importlib.import_module('Crypto.Hash.' + alg)
4949

0 commit comments

Comments
 (0)