mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Use salt.utils.versions.LooseVersion instead of distutils
This commit is contained in:
parent
29ff19c587
commit
fb7117f2ac
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,6 @@
|
|||
'''
|
||||
# Import Python libs
|
||||
from __future__ import absolute_import
|
||||
from distutils.version import LooseVersion
|
||||
|
||||
# Import Salt Testing libs
|
||||
from tests.support.case import ModuleCase
|
||||
|
@ -17,6 +16,7 @@ from tests.support.mixins import SaltReturnAssertsMixin
|
|||
# Import salt libs
|
||||
import salt.utils
|
||||
import salt.modules.cmdmod as cmd
|
||||
from salt.utils.versions import LooseVersion
|
||||
|
||||
MAX_NPM_VERSION = '5.0.0'
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue