Skip to content
Snippets Groups Projects
Commit 98681bd4 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

Use "#!/usr/bin/env python" for python shebang

ansible is not allowing to use "#!/usr/bin/python".

Due to a change in ansible-lint it is not possible to ignore the "bad"
shebang.
parent 2882e242
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Authors: # Authors:
......
...@@ -125,7 +125,7 @@ done ...@@ -125,7 +125,7 @@ done
for i in utils/*.py utils/new_module utils/changelog utils/ansible-doc-test; for i in utils/*.py utils/new_module utils/changelog utils/ansible-doc-test;
do do
sed -i '{s@/usr/bin/python*@%{python}@}' $i sed -i '{s@/usr/bin/env python*@%{python}@}' $i
done done
......
#!/usr/bin/python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Authors: # Authors:
......
#!/usr/bin/python #!/usr/bin/env python
"""Check which tests are scheduled to be executed.""" """Check which tests are scheduled to be executed."""
......
#!/usr/bin/python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Authors: # Authors:
......
#!/usr/bin/python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Authors: # Authors:
......
#!/usr/bin/python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Authors: # Authors:
......
#!/usr/bin/python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Authors: # Authors:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment