mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Ignore Bandit's B413(blacklist) regarding PyCrypto on the test suite
This commit is contained in:
parent
dc131a9369
commit
a4b4802ba5
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ except ImportError:
|
|||
HAS_PYCRYPTO_RSA = False
|
||||
if not HAS_PYCRYPTO_RSA:
|
||||
try:
|
||||
from Crypto.PublicKey import RSA
|
||||
from Crypto.PublicKey import RSA # nosec
|
||||
|
||||
HAS_PYCRYPTO_RSA = True
|
||||
except ImportError:
|
||||
|
|
Loading…
Add table
Reference in a new issue