mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
Remove some more unused stdlib deps.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user