diff options
author | Matt Clay <matt@mystile.com> | 2018-10-05 01:22:25 -0700 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2018-10-08 11:26:37 -0700 |
commit | a11f631ee414ba1048b04564cc901f1ff8b67479 (patch) | |
tree | b2ab4420cb8ed7fcf18aa5ddaa4feb884a0deced /lib/ansible/template/vars.py | |
parent | c4d1f0d416a44e4a24322e2d3829439fdc7d0fe4 (diff) | |
download | ansible-a11f631ee414ba1048b04564cc901f1ff8b67479.tar.gz |
Python 3.8 collections compatibility fixes.
Includes a new pylint blacklist plugin to prevent regressions.
Diffstat (limited to 'lib/ansible/template/vars.py')
-rw-r--r-- | lib/ansible/template/vars.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ansible/template/vars.py b/lib/ansible/template/vars.py index a645aafade..97e48ca27e 100644 --- a/lib/ansible/template/vars.py +++ b/lib/ansible/template/vars.py @@ -19,13 +19,12 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type -from collections import Mapping - from jinja2.utils import missing from ansible.errors import AnsibleError, AnsibleUndefinedVariable from ansible.module_utils.six import iteritems from ansible.module_utils._text import to_native +from ansible.module_utils.common._collections_compat import Mapping __all__ = ['AnsibleJ2Vars'] |