diff --git a/v2/ansible/parsing/vault/__init__.py b/v2/ansible/parsing/vault/__init__.py index 32a2727d338..44f50f7d21e 100644 --- a/v2/ansible/parsing/vault/__init__.py +++ b/v2/ansible/parsing/vault/__init__.py @@ -18,6 +18,10 @@ # example playbook to bootstrap this script in the examples/ dir which # installs ansible and sets it up to run on cron. +# Make coding more python3-ish +from __future__ import (absolute_import, division, print_function) +__metaclass__ = type + import os import shlex import shutil diff --git a/v2/ansible/parsing/yaml/strings.py b/v2/ansible/parsing/yaml/strings.py index a778904e633..b7e304194fc 100644 --- a/v2/ansible/parsing/yaml/strings.py +++ b/v2/ansible/parsing/yaml/strings.py @@ -15,6 +15,10 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . +# Make coding more python3-ish +from __future__ import (absolute_import, division, print_function) +__metaclass__ = type + __all__ = [ 'YAML_SYNTAX_ERROR', 'YAML_POSITION_DETAILS',