diff options
author | Matt Clay <matt@mystile.com> | 2016-11-02 22:47:42 +0100 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2016-11-03 01:00:27 +0100 |
commit | 0d46805979646ce3a6f0225e804a73f552cd5296 (patch) | |
tree | 8a92e9b753c193ba81ee588573de370537bdcda7 /contrib/inventory/cloudforms.py | |
parent | drop duplicated section from CHANGELOG (diff) | |
download | ansible-0d46805979646ce3a6f0225e804a73f552cd5296.tar.xz ansible-0d46805979646ce3a6f0225e804a73f552cd5296.zip |
Clean up shebangs for various files.
- Remove shebangs from:
- ini files
- unit tests
- module_utils
- plugins
- module_docs_fragments
- non-executable Makefiles
- Change non-modules from '/usr/bin/python' to '/usr/bin/env python'.
- Change '/bin/env' to '/usr/bin/env'.
Also removed main functions from unit tests (since they no longer
have a shebang) and fixed a python 3 compatibility issue with
update_bundled.py so it does not need to specify a python 2 shebang.
A script was added to check for unexpected shebangs in files.
This script is run during CI on Shippable.
Diffstat (limited to 'contrib/inventory/cloudforms.py')
-rwxr-xr-x | contrib/inventory/cloudforms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/inventory/cloudforms.py b/contrib/inventory/cloudforms.py index c463f857f0..69c149bfc5 100755 --- a/contrib/inventory/cloudforms.py +++ b/contrib/inventory/cloudforms.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # vim: set fileencoding=utf-8 : # # Copyright (C) 2016 Guido Günther <agx@sigxcpu.org> |