diff --git a/salt/crypt.py b/salt/crypt.py index b05e99a7f8..1cbdba1132 100644 --- a/salt/crypt.py +++ b/salt/crypt.py @@ -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