mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
salt.crypt: fix pylint W0702 "No exception type(s) specified"
This commit is contained in:
parent
b67653b7e4
commit
30bffb9c02
@ -17,7 +17,7 @@ import logging
|
||||
try:
|
||||
from M2Crypto import RSA
|
||||
from Crypto.Cipher import AES
|
||||
except:
|
||||
except ImportError:
|
||||
# No need for crypt in local mode
|
||||
pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user