distutils is not available on some non-Linux OS's

reviewable/pr18780/r1
Tim G 10 years ago
parent 7fc142cc13
commit 68b5b7be72

@ -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…
Cancel
Save