Skip to content

Commit

Permalink
Change the shebang back to just python
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCoding authored and jbradberry committed Dec 10, 2020
1 parent 9f26803 commit 8ff9966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awx/main/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ def build_inventory(self, instance, private_data_dir):
fn = os.path.join(path, 'hosts')
with open(fn, 'w') as f:
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

def build_args(self, instance, private_data_dir, passwords):
Expand Down

0 comments on commit 8ff9966

Please sign in to comment.