mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix lint, fix boto module
This commit is contained in:
parent
c20111142f
commit
d34d110a84
2 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue