From aee01564a9d3eb70547c893a8b468e78616a18a5 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Wed, 21 Mar 2018 09:41:01 -0700 Subject: [PATCH] Clean up non-standard module shebangs. --- lib/ansible/modules/cloud/misc/xenserver_facts.py | 2 +- lib/ansible/modules/cloud/rackspace/rax_cdb.py | 2 +- lib/ansible/modules/cloud/rackspace/rax_cdb_database.py | 2 +- lib/ansible/modules/cloud/rackspace/rax_cdb_user.py | 2 +- lib/ansible/modules/net_tools/lldp.py | 2 +- lib/ansible/modules/packaging/language/pear.py | 2 +- lib/ansible/modules/packaging/os/apt_rpm.py | 2 +- lib/ansible/modules/packaging/os/pacman.py | 2 +- lib/ansible/modules/packaging/os/swdepot.py | 2 +- lib/ansible/modules/packaging/os/urpmi.py | 2 +- lib/ansible/modules/packaging/os/yum.py | 2 +- lib/ansible/modules/packaging/os/zypper.py | 2 +- lib/ansible/modules/windows/win_file_version.py | 2 +- lib/ansible/modules/windows/win_firewall_rule.py | 2 +- .../targets/embedded_module/library/test_integration_module | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/lib/ansible/modules/cloud/misc/xenserver_facts.py b/lib/ansible/modules/cloud/misc/xenserver_facts.py index ba995381d7a..4616b1cddbd 100644 --- a/lib/ansible/modules/cloud/misc/xenserver_facts.py +++ b/lib/ansible/modules/cloud/misc/xenserver_facts.py @@ -1,4 +1,4 @@ -#!/usr/bin/python -tt +#!/usr/bin/python # # Copyright: Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/lib/ansible/modules/cloud/rackspace/rax_cdb.py b/lib/ansible/modules/cloud/rackspace/rax_cdb.py index 2b61e994b6a..c9a3a1c17a8 100644 --- a/lib/ansible/modules/cloud/rackspace/rax_cdb.py +++ b/lib/ansible/modules/cloud/rackspace/rax_cdb.py @@ -1,4 +1,4 @@ -#!/usr/bin/python -tt +#!/usr/bin/python # Copyright: Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/lib/ansible/modules/cloud/rackspace/rax_cdb_database.py b/lib/ansible/modules/cloud/rackspace/rax_cdb_database.py index 69e84a611e1..29881f60ac0 100644 --- a/lib/ansible/modules/cloud/rackspace/rax_cdb_database.py +++ b/lib/ansible/modules/cloud/rackspace/rax_cdb_database.py @@ -1,4 +1,4 @@ -#!/usr/bin/python -tt +#!/usr/bin/python # Copyright: Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/lib/ansible/modules/cloud/rackspace/rax_cdb_user.py b/lib/ansible/modules/cloud/rackspace/rax_cdb_user.py index 77b6dfed383..16740e434a2 100644 --- a/lib/ansible/modules/cloud/rackspace/rax_cdb_user.py +++ b/lib/ansible/modules/cloud/rackspace/rax_cdb_user.py @@ -1,4 +1,4 @@ -#!/usr/bin/python -tt +#!/usr/bin/python # Copyright: Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/lib/ansible/modules/net_tools/lldp.py b/lib/ansible/modules/net_tools/lldp.py index cdfbb1ffa85..e93657ac96b 100644 --- a/lib/ansible/modules/net_tools/lldp.py +++ b/lib/ansible/modules/net_tools/lldp.py @@ -1,4 +1,4 @@ -#!/usr/bin/python -tt +#!/usr/bin/python # # Copyright: Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) diff --git a/lib/ansible/modules/packaging/language/pear.py b/lib/ansible/modules/packaging/language/pear.py index d0674811876..0abc3aa1acd 100644 --- a/lib/ansible/modules/packaging/language/pear.py +++ b/lib/ansible/modules/packaging/language/pear.py @@ -1,4 +1,4 @@ -#!/usr/bin/python -tt +#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2012, Afterburn diff --git a/lib/ansible/modules/packaging/os/apt_rpm.py b/lib/ansible/modules/packaging/os/apt_rpm.py index c0241b46a46..76743d2e32b 100644 --- a/lib/ansible/modules/packaging/os/apt_rpm.py +++ b/lib/ansible/modules/packaging/os/apt_rpm.py @@ -1,4 +1,4 @@ -#!/usr/bin/python -tt +#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2013, Evgenii Terechkov diff --git a/lib/ansible/modules/packaging/os/pacman.py b/lib/ansible/modules/packaging/os/pacman.py index 0b2e0d17175..823b0abea1f 100644 --- a/lib/ansible/modules/packaging/os/pacman.py +++ b/lib/ansible/modules/packaging/os/pacman.py @@ -1,4 +1,4 @@ -#!/usr/bin/python -tt +#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2012, Afterburn diff --git a/lib/ansible/modules/packaging/os/swdepot.py b/lib/ansible/modules/packaging/os/swdepot.py index a200a3df516..505a31f25e1 100644 --- a/lib/ansible/modules/packaging/os/swdepot.py +++ b/lib/ansible/modules/packaging/os/swdepot.py @@ -1,4 +1,4 @@ -#!/usr/bin/python -tt +#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2013, Raul Melo diff --git a/lib/ansible/modules/packaging/os/urpmi.py b/lib/ansible/modules/packaging/os/urpmi.py index ba33b67b0ee..ebece3727cc 100644 --- a/lib/ansible/modules/packaging/os/urpmi.py +++ b/lib/ansible/modules/packaging/os/urpmi.py @@ -1,4 +1,4 @@ -#!/usr/bin/python -tt +#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2013, Philippe Makowski diff --git a/lib/ansible/modules/packaging/os/yum.py b/lib/ansible/modules/packaging/os/yum.py index e872f692992..dc5c8f3f2c6 100644 --- a/lib/ansible/modules/packaging/os/yum.py +++ b/lib/ansible/modules/packaging/os/yum.py @@ -1,4 +1,4 @@ -#!/usr/bin/python -tt +#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2012, Red Hat, Inc diff --git a/lib/ansible/modules/packaging/os/zypper.py b/lib/ansible/modules/packaging/os/zypper.py index 16dc3df87f4..e089eb522b2 100644 --- a/lib/ansible/modules/packaging/os/zypper.py +++ b/lib/ansible/modules/packaging/os/zypper.py @@ -1,4 +1,4 @@ -#!/usr/bin/python -tt +#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2013, Patrick Callahan diff --git a/lib/ansible/modules/windows/win_file_version.py b/lib/ansible/modules/windows/win_file_version.py index 6418352df49..ef69d68a302 100644 --- a/lib/ansible/modules/windows/win_file_version.py +++ b/lib/ansible/modules/windows/win_file_version.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2015, Sam Liu diff --git a/lib/ansible/modules/windows/win_firewall_rule.py b/lib/ansible/modules/windows/win_firewall_rule.py index 3246d74c5e7..180fd684f01 100644 --- a/lib/ansible/modules/windows/win_firewall_rule.py +++ b/lib/ansible/modules/windows/win_firewall_rule.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2014, Timothy Vandenbrande diff --git a/test/integration/targets/embedded_module/library/test_integration_module b/test/integration/targets/embedded_module/library/test_integration_module index f564619470c..04755b8e8c0 100644 --- a/test/integration/targets/embedded_module/library/test_integration_module +++ b/test/integration/targets/embedded_module/library/test_integration_module @@ -1,3 +1,3 @@ -#!/usr/bin/env python +#!/usr/bin/python print('{"changed":false, "msg":"this is the embedded module"}')