mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Remove some more unused stdlib deps.
This commit is contained in:
parent
658ea053ea
commit
c08648999d
2 changed files with 0 additions and 9 deletions
|
@ -30,7 +30,6 @@ import os
|
|||
import re
|
||||
import types
|
||||
import ConfigParser
|
||||
import shlex
|
||||
|
||||
|
||||
class RegistrationBase(object):
|
||||
|
|
|
@ -29,19 +29,11 @@
|
|||
|
||||
import platform
|
||||
import os
|
||||
import tempfile
|
||||
import shlex
|
||||
import select
|
||||
import subprocess
|
||||
import json
|
||||
|
||||
# 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
|
||||
|
||||
class Service(object):
|
||||
"""
|
||||
This is the generic Service manipulation class that is subclassed based on system.
|
||||
|
|
Loading…
Reference in a new issue