mirror of
https://github.com/ansible/awx.git
synced 2026-01-27 08:31:28 -03:30
Change the shebang back to just python
This commit is contained in:
parent
2302496724
commit
7a433f4e8f
@ -1137,7 +1137,7 @@ class BaseTask(object):
|
|||||||
fn = os.path.join(path, 'hosts')
|
fn = os.path.join(path, 'hosts')
|
||||||
with open(fn, 'w') as f:
|
with open(fn, 'w') as f:
|
||||||
os.chmod(fn, stat.S_IRUSR | stat.S_IXUSR | stat.S_IWUSR)
|
os.chmod(fn, stat.S_IRUSR | stat.S_IXUSR | stat.S_IWUSR)
|
||||||
f.write('#! /usr/bin/env python3\n# -*- coding: utf-8 -*-\nprint(%r)\n' % json_data)
|
f.write('#! /usr/bin/env python\n# -*- coding: utf-8 -*-\nprint(%r)\n' % json_data)
|
||||||
return fn
|
return fn
|
||||||
|
|
||||||
def build_args(self, instance, private_data_dir, passwords):
|
def build_args(self, instance, private_data_dir, passwords):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user