mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-14 13:32:10 +00:00
Use ansible.module_utils.six instead of six
This patch is needed to pass Automation Hub tests.
This commit is contained in:
@@ -212,7 +212,6 @@ RETURN = '''
|
||||
|
||||
import os
|
||||
import sys
|
||||
import six
|
||||
import inspect
|
||||
import random
|
||||
from shutil import copyfile
|
||||
@@ -229,6 +228,7 @@ from ansible.module_utils.ansible_ipa_server import (
|
||||
validate_domain_name, load_pkcs12, IPA_PYTHON_VERSION,
|
||||
encode_certificate, check_available_memory
|
||||
)
|
||||
from ansible.module_utils import six
|
||||
|
||||
if six.PY3:
|
||||
unicode = str
|
||||
|
||||
@@ -55,7 +55,7 @@ else:
|
||||
|
||||
import logging
|
||||
from contextlib import contextmanager as contextlib_contextmanager
|
||||
import six
|
||||
from ansible.module_utils import six
|
||||
import base64
|
||||
|
||||
from ipapython.version import NUM_VERSION, VERSION
|
||||
|
||||
Reference in New Issue
Block a user