Add python3-compat boilerplate to all .py files in lib/ansible

This commit is contained in:
Toshio Kuratomi 2015-10-19 18:36:19 -07:00
parent de3ca57a33
commit f34b55ac2b
36 changed files with 123 additions and 8 deletions

View file

@ -15,6 +15,9 @@
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
########################################################
from ansible import constants as C
from ansible.cli import CLI

View file

@ -16,6 +16,9 @@
# ansible-vault is a script that encrypts/decrypts YAML files. See
# http://docs.ansible.com/playbooks_vault.html for more details.
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import fcntl
import datetime
import os

View file

@ -19,6 +19,9 @@
#
########################################################################
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import os
import os.path
import sys

View file

@ -18,6 +18,10 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
########################################################
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import os
import stat

View file

@ -15,6 +15,9 @@
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
########################################################
import datetime
import os

View file

@ -16,6 +16,9 @@
# ansible-vault is a script that encrypts/decrypts YAML files. See
# http://docs.ansible.com/playbooks_vault.html for more details.
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import os
import sys
import traceback