mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 18:50:21 -07:00
Add python3 compat header
This commit is contained in:
parent
e7ee9ddc0a
commit
7055505227
2 changed files with 8 additions and 0 deletions
|
@ -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 @@
|
||||||
# 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',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue