mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fix lint errors
This commit is contained in:
parent
6bd91c8b03
commit
deb6316d67
@ -467,8 +467,10 @@ import signal
|
|||||||
import tarfile
|
import tarfile
|
||||||
from multiprocessing import Process, Pipe
|
from multiprocessing import Process, Pipe
|
||||||
|
|
||||||
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
# Import third-party libs
|
# Import third-party libs
|
||||||
# pylint: disable=import-error, 3rd-party-module-not-gated
|
# pylint: disable=import-error
|
||||||
import cherrypy
|
import cherrypy
|
||||||
try:
|
try:
|
||||||
from cherrypy.lib import cpstats
|
from cherrypy.lib import cpstats
|
||||||
@ -480,8 +482,7 @@ except ImportError:
|
|||||||
|
|
||||||
import yaml
|
import yaml
|
||||||
import salt.ext.six as six
|
import salt.ext.six as six
|
||||||
# pylint: enable=import-error, 3rd-party-module-not-gated
|
# pylint: enable=import-error
|
||||||
|
|
||||||
|
|
||||||
# Import Salt libs
|
# Import Salt libs
|
||||||
import salt
|
import salt
|
||||||
@ -491,8 +492,6 @@ import salt.utils.event
|
|||||||
# Import salt-api libs
|
# Import salt-api libs
|
||||||
import salt.netapi
|
import salt.netapi
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
# Imports related to websocket
|
# Imports related to websocket
|
||||||
try:
|
try:
|
||||||
from .tools import websockets
|
from .tools import websockets
|
||||||
|
Loading…
Reference in New Issue
Block a user