mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fix some more lint
This commit is contained in:
parent
0a28bd13ae
commit
ddee86c27c
@ -17,10 +17,9 @@ import salt.utils
|
||||
import salt.utils.win_update
|
||||
from salt.exceptions import CommandExecutionError
|
||||
|
||||
# Import 3rd Party libs
|
||||
# Import 3rd-party libs
|
||||
try:
|
||||
import pythoncom
|
||||
import pywintypes
|
||||
import win32com.client
|
||||
HAS_PYWIN32 = True
|
||||
except ImportError:
|
||||
|
@ -47,11 +47,11 @@ For removal:
|
||||
- KB3194343
|
||||
- bb1dbb26-3fb6-45fd-bb05-e3c8e379195c
|
||||
'''
|
||||
# Import python libs
|
||||
# Import Python libs
|
||||
from __future__ import absolute_import
|
||||
import logging
|
||||
|
||||
# Import salt libs
|
||||
# Import Salt libs
|
||||
from salt.ext import six
|
||||
import salt.utils
|
||||
import salt.utils.win_update
|
||||
|
@ -10,10 +10,10 @@ import subprocess
|
||||
# Import Salt libs
|
||||
import salt.utils
|
||||
from salt.ext import six
|
||||
from salt.ext.moves import range
|
||||
from salt.ext.six.moves import range
|
||||
from salt.exceptions import CommandExecutionError
|
||||
|
||||
# Import 3rd Party libs
|
||||
# Import 3rd-party libs
|
||||
try:
|
||||
import win32com.client
|
||||
import pythoncom
|
||||
|
Loading…
Reference in New Issue
Block a user