diff options
author | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-01-22 21:55:27 -0800 |
---|---|---|
committer | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-01-22 21:55:27 -0800 |
commit | 4f1f8e89c9c380c416badefb48154e40ade91afc (patch) | |
tree | 97b9952a458bcb87557ca3e0f116d791816f4d0d /system/service.py | |
parent | effdba95de34efdd66bfb4f4b3a8a82320d767ea (diff) | |
download | ansible-modules-core-4f1f8e89c9c380c416badefb48154e40ade91afc.tar.gz |
More information about distutils on Solaris in case we run into this again
Diffstat (limited to 'system/service.py')
-rw-r--r-- | system/service.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/system/service.py b/system/service.py index 108427bb..321950cb 100644 --- a/system/service.py +++ b/system/service.py @@ -107,6 +107,9 @@ import time import string # The distutils module is not shipped with SUNWPython on Solaris. +# It's in the SUNWPython-devel package which also contains development files +# that don't belong on production boxes. Since our Solaris code doesn't +# depend on LooseVersion, do not import it on Solaris. if platform.system() != 'SunOS': from distutils.version import LooseVersion |