Skip to content

Commit

Permalink
scripts: fix warning in release_sign.py
Browse files Browse the repository at this point in the history
  • Loading branch information
brliron committed Jan 20, 2023
1 parent ff74862 commit 0a0cb6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release_sign.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

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

Expand Down

0 comments on commit 0a0cb6a

Please # to comment.