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

This commit is contained in:
Tim G 2015-01-14 13:15:38 +10:00 committed by Matt Clay
parent d4c4dd31d8
commit ea77ac076b

View file

@ -106,7 +106,8 @@ import select
import time import time
import string import string
from distutils.version import LooseVersion if platform.system() == 'Linux':
from distutils.version import LooseVersion
class Service(object): class Service(object):
""" """