Commit 70555052 by Toshio Kuratomi

Add python3 compat header

parent e7ee9ddc
...@@ -18,6 +18,10 @@ ...@@ -18,6 +18,10 @@
# example playbook to bootstrap this script in the examples/ dir which # example playbook to bootstrap this script in the examples/ dir which
# installs ansible and sets it up to run on cron. # 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 os
import shlex import shlex
import shutil import shutil
......
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>. # along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# Make coding more python3-ish
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
__all__ = [ __all__ = [
'YAML_SYNTAX_ERROR', 'YAML_SYNTAX_ERROR',
'YAML_POSITION_DETAILS', 'YAML_POSITION_DETAILS',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment