mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fix lint errors
This commit is contained in:
parent
6bd91c8b03
commit
deb6316d67
@ -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…
Reference in New Issue
Block a user