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,7 +106,9 @@ import select
|
|||
import time
|
||||
import string
|
||||
|
||||
from distutils.version import LooseVersion
|
||||
# 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