mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Move functools import inside pylint escapes
This commit is contained in:
parent
118d5134e2
commit
a040443fa1
1 changed files with 1 additions and 1 deletions
|
@ -105,6 +105,7 @@ if salt.utils.is_windows():
|
|||
import datetime
|
||||
import errno
|
||||
import time
|
||||
from functools import cmp_to_key
|
||||
# pylint: disable=import-error
|
||||
# pylint: enable=unused-import
|
||||
from salt.modules.win_pkg import _get_package_info
|
||||
|
@ -116,7 +117,6 @@ if salt.utils.is_windows():
|
|||
from salt.modules.win_pkg import _repo_process_pkg_sls
|
||||
from salt.modules.win_pkg import _get_latest_pkg_version
|
||||
from salt.modules.win_pkg import _reverse_cmp_pkg_versions
|
||||
from functools import cmp_to_key
|
||||
_get_package_info = _namespaced_function(_get_package_info, globals())
|
||||
get_repo_data = _namespaced_function(get_repo_data, globals())
|
||||
_get_repo_details = \
|
||||
|
|
Loading…
Add table
Reference in a new issue