Replace import of pycompat24.literal_eval with ast.literal_eval. (#64088)

This commit is contained in:
Mads Jensen 2019-11-04 15:55:08 +01:00 committed by Sam Doran
parent c67c23234a
commit 3126c38f8a
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- core - replace a compatibility import of pycompat24.literal_eval with ast.literal_eval.

View file

@ -8,13 +8,13 @@ __metaclass__ = type
import os
import re
from ast import literal_eval
from ansible.module_utils._text import to_native, to_text
from ansible.module_utils.common._json_compat import json
from ansible.module_utils.common.collections import is_iterable
from ansible.module_utils.common.text.converters import jsonify
from ansible.module_utils.common.text.formatters import human_to_bytes
from ansible.module_utils.parsing.convert_bool import boolean
from ansible.module_utils.pycompat24 import literal_eval
from ansible.module_utils.six import (
binary_type,
integer_types,