mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
distutils is not available on some non-Linux OS's
This commit is contained in:
parent
d4c4dd31d8
commit
ea77ac076b
1 changed files with 2 additions and 1 deletions
|
@ -106,7 +106,8 @@ import select
|
|||
import time
|
||||
import string
|
||||
|
||||
from distutils.version import LooseVersion
|
||||
if platform.system() == 'Linux':
|
||||
from distutils.version import LooseVersion
|
||||
|
||||
class Service(object):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue