Fix lint, fix boto module

This commit is contained in:
twangboy 2016-12-28 10:06:40 -07:00
parent c20111142f
commit d34d110a84
2 changed files with 1 additions and 4 deletions

View file

@ -64,7 +64,7 @@ try:
# pylint: enable=unused-import
logging.getLogger('boto').setLevel(logging.CRITICAL)
HAS_BOTO = True
except ImportError:
except (ImportError, AttributeError):
HAS_BOTO = False

View file

@ -6,9 +6,6 @@ missing functions in other modules
from __future__ import absolute_import
from salt.exceptions import CommandExecutionError
# Import Salt Libs
import salt.utils
# Import 3rd Party Libs
try:
import ntsecuritycon