From 8ff9966a4c431306ac1e88af14f8bdde7fe06238 Mon Sep 17 00:00:00 2001 From: Alan Rominger Date: Wed, 9 Dec 2020 16:36:48 -0500 Subject: [PATCH] Change the shebang back to just python --- awx/main/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/tasks.py b/awx/main/tasks.py index 6cea0d511772..d31f72583f74 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -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):