mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-02-04 08:01:49 +00:00
Replace distutils with included module in ansible-core 2.12
- Fixes #303 - Addresses PEP 632(https://www.python.org/dev/peps/pep-0632/) Signed-off-by: Hideki Saito <saito@fgrep.org>
This commit is contained in:
parent
16436f4f55
commit
a45448bb26
5 changed files with 368 additions and 3 deletions
|
|
@ -4,11 +4,10 @@
|
|||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
|
||||
from __future__ import absolute_import, division, print_function
|
||||
from ansible_collections.ansible.posix.plugins.module_utils.version import LooseVersion
|
||||
|
||||
__metaclass__ = type
|
||||
|
||||
# Imports and info for sanity checking
|
||||
from distutils.version import LooseVersion
|
||||
|
||||
FW_VERSION = None
|
||||
fw = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue