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:
parent
52bcf4a195
commit
a73bd8dcbc
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue