the clean module was added later

This commit is contained in:
Steven Robertson 2020-02-10 17:59:24 -08:00
parent 496d96c01a
commit d74da84f62
1 changed files with 5 additions and 1 deletions

View File

@ -54,13 +54,17 @@ import ansible_mitogen.connection
import ansible_mitogen.planner
import ansible_mitogen.target
from ansible.module_utils._text import to_text
from ansible.vars.clean import remove_internal_keys
try:
from ansible.utils.unsafe_proxy import wrap_var
except ImportError:
from ansible.vars.unsafe_proxy import wrap_var
try:
from ansible.vars.clean import remove_internal_keys
except ImportError:
from ansible.vars.manager import remove_internal_keys
LOG = logging.getLogger(__name__)