mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix lint errors
This commit is contained in:
parent
6bd91c8b03
commit
deb6316d67
1 changed files with 4 additions and 5 deletions
|
@ -467,8 +467,10 @@ import signal
|
|||
import tarfile
|
||||
from multiprocessing import Process, Pipe
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
# Import third-party libs
|
||||
# pylint: disable=import-error, 3rd-party-module-not-gated
|
||||
# pylint: disable=import-error
|
||||
import cherrypy
|
||||
try:
|
||||
from cherrypy.lib import cpstats
|
||||
|
@ -480,8 +482,7 @@ except ImportError:
|
|||
|
||||
import yaml
|
||||
import salt.ext.six as six
|
||||
# pylint: enable=import-error, 3rd-party-module-not-gated
|
||||
|
||||
# pylint: enable=import-error
|
||||
|
||||
# Import Salt libs
|
||||
import salt
|
||||
|
@ -491,8 +492,6 @@ import salt.utils.event
|
|||
# Import salt-api libs
|
||||
import salt.netapi
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
# Imports related to websocket
|
||||
try:
|
||||
from .tools import websockets
|
||||
|
|
Loading…
Add table
Reference in a new issue