mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Disable some Pylint errors
This commit is contained in:
parent
c038184ca7
commit
6b7af5dfc7
@ -38,16 +38,17 @@ from __future__ import absolute_import
|
||||
|
||||
# Import Python libs
|
||||
import logging
|
||||
from distutils.version import LooseVersion as _LooseVersion
|
||||
from distutils.version import LooseVersion as _LooseVersion # pylint: disable=import-error,no-name-in-module
|
||||
from salt.exceptions import SaltInvocationError, CommandExecutionError
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
# Import third party libs
|
||||
try:
|
||||
# pylint: disable=import-error
|
||||
import boto
|
||||
import boto.vpc
|
||||
|
||||
# pylint: disable=import-error
|
||||
logging.getLogger('boto').setLevel(logging.CRITICAL)
|
||||
HAS_BOTO = True
|
||||
except ImportError:
|
||||
|
Loading…
Reference in New Issue
Block a user