mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 16:53:11 +00:00
More information about distutils on Solaris in case we run into this again
This commit is contained in:
committed by
Matt Clay
parent
52bcf4a195
commit
a73bd8dcbc
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user