Merge pull request #639 from tgolly/devel
distutils is not available on some non-Linux OS's
This commit is contained in:
commit
effdba95de
1 changed files with 3 additions and 1 deletions
|
@ -106,6 +106,8 @@ import select
|
|||
import time
|
||||
import string
|
||||
|
||||
# The distutils module is not shipped with SUNWPython on Solaris.
|
||||
if platform.system() != 'SunOS':
|
||||
from distutils.version import LooseVersion
|
||||
|
||||
class Service(object):
|
||||
|
|
Loading…
Reference in a new issue