community.general/lib/ansible/utils
Matt Clay 0d46805979 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.
2016-11-02 17:00:27 -07:00
..
module_docs_fragments Clean up shebangs for various files. 2016-11-02 17:00:27 -07:00
__init__.py limit extensions for files in group/host_vars dir 2015-05-23 20:34:08 +02:00
boolean.py Making the switch to v2 2015-05-03 21:47:26 -05:00
cmd_functions.py Fix ansible-pull on python3 2016-10-17 16:31:08 -07:00
color.py Allowing hostcolor colours to be set 2016-10-04 20:31:10 -04:00
display.py display fixes 2016-11-01 09:51:20 -04:00
encrypt.py Now that we convert salt inside of do_encryptas needed, keep salt as text type until then. 2016-10-20 22:49:30 -07:00
hashing.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 2016-09-06 22:54:17 -07:00
helpers.py Change <support@ansible.com> - it's being retired. 2016-10-15 16:42:13 -07:00
listify.py remove bare vars and undefined from lookup lists (#17647) 2016-09-27 12:32:04 -04:00
module_docs.py Migrate basestring to a python3 compatible type (#17199) 2016-08-23 13:13:44 -07:00
path.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 2016-09-06 22:54:17 -07:00
shlex.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 2016-09-06 22:54:17 -07:00
ssh_functions.py Check controlpersist (#17443) 2016-09-12 08:27:39 -07:00
unicode.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 2016-09-06 22:54:17 -07:00
vars.py Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 2016-09-06 22:54:17 -07:00