1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

More information about distutils on Solaris in case we run into this again

This commit is contained in:
Toshio Kuratomi 2015-01-22 21:55:27 -08:00 committed by Matt Clay
parent 52bcf4a195
commit a73bd8dcbc

View file

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