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

pull/18777/head
Tim G 10 years ago committed by Matt Clay
parent d4c4dd31d8
commit ea77ac076b

@ -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