Properly enforce shebang on collections.

This commit is contained in:
Matt Clay 2019-06-25 18:40:28 -07:00
parent 013b0039ba
commit d5542afd97
11 changed files with 11 additions and 11 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
import json

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
import json

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
import json

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
import json
import sys

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
import json

View file

@ -89,7 +89,7 @@ def main():
dirname = os.path.dirname(path)
if dirname.endswith('/library') or dirname in (
if dirname.endswith('/library') or dirname.endswith('/plugins/modules') or dirname in (
# non-standard module library directories
'test/integration/targets/module_precedence/lib_no_extension',
'test/integration/targets/module_precedence/lib_with_extension',