diff options
author | Christian Heimes <cheimes@redhat.com> | 2016-01-19 14:37:52 +0100 |
---|---|---|
committer | Christian Heimes <cheimes@redhat.com> | 2016-01-19 14:37:52 +0100 |
commit | 5bf3a94a9c3374e34bf66fe5b1725ff9b49a1f3c (patch) | |
tree | b6ba28b3b88c6a712566c3e47b375a4a4f412473 | |
parent | 81af68d3e3b1a89f799693e7f7ecda59f57abfe4 (diff) | |
download | pki-5bf3a94a9c3374e34bf66fe5b1725ff9b49a1f3c.tar.gz pki-5bf3a94a9c3374e34bf66fe5b1725ff9b49a1f3c.tar.xz pki-5bf3a94a9c3374e34bf66fe5b1725ff9b49a1f3c.zip |
Remove #!python shebang from non-executables
A lot of Python files start with a #!/usr/bin/python shebang although
the files are neither executables nor designed as scripts. Shebangs are
only required for executable scripts.
Without unnecessary shebangs it's a bit easier to track Python 3
porting.
41 files changed, 0 insertions, 46 deletions
diff --git a/base/common/python/pki/__init__.py b/base/common/python/pki/__init__.py index 652b6697d..4c4b88ae7 100644 --- a/base/common/python/pki/__init__.py +++ b/base/common/python/pki/__init__.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # Authors: # Endi S. Dewata <edewata@redhat.com> # diff --git a/base/common/python/pki/account.py b/base/common/python/pki/account.py index 9125df875..ee7507be7 100644 --- a/base/common/python/pki/account.py +++ b/base/common/python/pki/account.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # Authors: # Endi S. Dewata <edewata@redhat.com> # diff --git a/base/common/python/pki/authority.py b/base/common/python/pki/authority.py index 5604e9e3a..8827db88a 100644 --- a/base/common/python/pki/authority.py +++ b/base/common/python/pki/authority.py @@ -1,5 +1,3 @@ -#!/usr/bin/python - # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. diff --git a/base/common/python/pki/cert.py b/base/common/python/pki/cert.py index 00f6a4168..c03bf6007 100644 --- a/base/common/python/pki/cert.py +++ b/base/common/python/pki/cert.py @@ -1,5 +1,3 @@ -#!/usr/bin/python - # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. diff --git a/base/common/python/pki/cli.py b/base/common/python/pki/cli.py index 6c51c2384..3be9cce2e 100644 --- a/base/common/python/pki/cli.py +++ b/base/common/python/pki/cli.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # Authors: # Endi S. Dewata <edewata@redhat.com> # diff --git a/base/common/python/pki/client.py b/base/common/python/pki/client.py index 581f0b0ad..7617a0b63 100644 --- a/base/common/python/pki/client.py +++ b/base/common/python/pki/client.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # Authors: # Endi S. Dewata <edewata@redhat.com> # diff --git a/base/common/python/pki/crypto.py b/base/common/python/pki/crypto.py index cf97a668c..60e83c924 100644 --- a/base/common/python/pki/crypto.py +++ b/base/common/python/pki/crypto.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # Authors: # Ade Lee <alee@redhat.com> # diff --git a/base/common/python/pki/feature.py b/base/common/python/pki/feature.py index fd9d40551..45af63c07 100644 --- a/base/common/python/pki/feature.py +++ b/base/common/python/pki/feature.py @@ -1,5 +1,3 @@ -#!/usr/bin/python - # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. diff --git a/base/common/python/pki/key.py b/base/common/python/pki/key.py index 4a6f50bdd..74f04bb1e 100644 --- a/base/common/python/pki/key.py +++ b/base/common/python/pki/key.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. diff --git a/base/common/python/pki/kra.py b/base/common/python/pki/kra.py index ca756c3c1..522773ba2 100644 --- a/base/common/python/pki/kra.py +++ b/base/common/python/pki/kra.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # Authors: # Abhishek Koneru <akoneru@redhat.com> # Ade Lee <alee@redhat.com> diff --git a/base/common/python/pki/nss.py b/base/common/python/pki/nss.py index 67fd90b4c..44e286853 100644 --- a/base/common/python/pki/nss.py +++ b/base/common/python/pki/nss.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # Authors: # Endi S. Dewata <edewata@redhat.com> # diff --git a/base/common/python/pki/profile.py b/base/common/python/pki/profile.py index 7d6bb5ef2..c463a6ba9 100644 --- a/base/common/python/pki/profile.py +++ b/base/common/python/pki/profile.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. diff --git a/base/common/python/pki/system.py b/base/common/python/pki/system.py index f1128fca1..45aa0d637 100644 --- a/base/common/python/pki/system.py +++ b/base/common/python/pki/system.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # Authors: # Endi S. Dewata <edewata@redhat.com> # diff --git a/base/common/python/pki/systemcert.py b/base/common/python/pki/systemcert.py index 199838b9e..a7d4e1c71 100644 --- a/base/common/python/pki/systemcert.py +++ b/base/common/python/pki/systemcert.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # Authors: # Ade Lee <alee@redhat.com> # diff --git a/base/common/python/pki/upgrade.py b/base/common/python/pki/upgrade.py index bc7e278e7..2261ba822 100644 --- a/base/common/python/pki/upgrade.py +++ b/base/common/python/pki/upgrade.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # Authors: # Endi S. Dewata <edewata@redhat.com> # diff --git a/base/common/python/pki/util.py b/base/common/python/pki/util.py index 55fa3b317..7220a7d49 100644 --- a/base/common/python/pki/util.py +++ b/base/common/python/pki/util.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # Authors: # Endi S. Dewata <edewata@redhat.com> # diff --git a/base/server/python/pki/server/__init__.py b/base/server/python/pki/server/__init__.py index bf592dcd5..98b7d97bf 100644 --- a/base/server/python/pki/server/__init__.py +++ b/base/server/python/pki/server/__init__.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # Authors: # Endi S. Dewata <edewata@redhat.com> # diff --git a/base/server/python/pki/server/ca.py b/base/server/python/pki/server/ca.py index 31e373ad8..afb281cc1 100644 --- a/base/server/python/pki/server/ca.py +++ b/base/server/python/pki/server/ca.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # Authors: # Endi S. Dewata <edewata@redhat.com> # diff --git a/base/server/python/pki/server/cli/ca.py b/base/server/python/pki/server/cli/ca.py index 2ad8652f4..e35e741c5 100644 --- a/base/server/python/pki/server/cli/ca.py +++ b/base/server/python/pki/server/cli/ca.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # Authors: # Endi S. Dewata <edewata@redhat.com> # diff --git a/base/server/python/pki/server/cli/instance.py b/base/server/python/pki/server/cli/instance.py index fe50b605d..5e70e5f28 100644 --- a/base/server/python/pki/server/cli/instance.py +++ b/base/server/python/pki/server/cli/instance.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # Authors: # Endi S. Dewata <edewata@redhat.com> # diff --git a/base/server/python/pki/server/cli/migrate.py b/base/server/python/pki/server/cli/migrate.py index 09427974e..9c5c0c6f4 100644 --- a/base/server/python/pki/server/cli/migrate.py +++ b/base/server/python/pki/server/cli/migrate.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # Authors: # Endi S. Dewata <edewata@redhat.com> # diff --git a/base/server/python/pki/server/cli/nuxwdog.py b/base/server/python/pki/server/cli/nuxwdog.py index dbdf973b6..ca9c7c39b 100644 --- a/base/server/python/pki/server/cli/nuxwdog.py +++ b/base/server/python/pki/server/cli/nuxwdog.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # Authors: # Ade Lee <alee@redhat.com> # diff --git a/base/server/python/pki/server/cli/subsystem.py b/base/server/python/pki/server/cli/subsystem.py index 14b5be2f5..d033142f5 100644 --- a/base/server/python/pki/server/cli/subsystem.py +++ b/base/server/python/pki/server/cli/subsystem.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # Authors: # Endi S. Dewata <edewata@redhat.com> # diff --git a/base/server/python/pki/server/deployment/pkiconfig.py b/base/server/python/pki/server/deployment/pkiconfig.py index 1198eea13..675926df5 100644 --- a/base/server/python/pki/server/deployment/pkiconfig.py +++ b/base/server/python/pki/server/deployment/pkiconfig.py @@ -1,4 +1,3 @@ -#!/usr/bin/python -t # Authors: # Matthew Harmsen <mharmsen@redhat.com> # diff --git a/base/server/python/pki/server/deployment/pkihelper.py b/base/server/python/pki/server/deployment/pkihelper.py index 7a1a8c7d1..43a404625 100644 --- a/base/server/python/pki/server/deployment/pkihelper.py +++ b/base/server/python/pki/server/deployment/pkihelper.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -t - # Authors: # Matthew Harmsen <mharmsen@redhat.com> # diff --git a/base/server/python/pki/server/deployment/pkilogging.py b/base/server/python/pki/server/deployment/pkilogging.py index 6378ff062..7a7afd707 100644 --- a/base/server/python/pki/server/deployment/pkilogging.py +++ b/base/server/python/pki/server/deployment/pkilogging.py @@ -1,4 +1,3 @@ -#!/usr/bin/python -t # Authors: # Matthew Harmsen <mharmsen@redhat.com> # diff --git a/base/server/python/pki/server/deployment/pkimanifest.py b/base/server/python/pki/server/deployment/pkimanifest.py index 09c9ac668..1cde3f7d7 100644 --- a/base/server/python/pki/server/deployment/pkimanifest.py +++ b/base/server/python/pki/server/deployment/pkimanifest.py @@ -1,4 +1,3 @@ -#!/usr/bin/python -t # Authors: # Matthew Harmsen <mharmsen@redhat.com> # diff --git a/base/server/python/pki/server/deployment/pkimessages.py b/base/server/python/pki/server/deployment/pkimessages.py index 649237307..b16051b6c 100644 --- a/base/server/python/pki/server/deployment/pkimessages.py +++ b/base/server/python/pki/server/deployment/pkimessages.py @@ -1,4 +1,3 @@ -#!/usr/bin/python -t # Authors: # Matthew Harmsen <mharmsen@redhat.com> # diff --git a/base/server/python/pki/server/deployment/pkiparser.py b/base/server/python/pki/server/deployment/pkiparser.py index d2b37d062..2b4479118 100644 --- a/base/server/python/pki/server/deployment/pkiparser.py +++ b/base/server/python/pki/server/deployment/pkiparser.py @@ -1,4 +1,3 @@ -#!/usr/bin/python -t # Authors: # Matthew Harmsen <mharmsen@redhat.com> # diff --git a/base/server/python/pki/server/deployment/pkiscriptlet.py b/base/server/python/pki/server/deployment/pkiscriptlet.py index 43fc69488..356e8ebca 100644 --- a/base/server/python/pki/server/deployment/pkiscriptlet.py +++ b/base/server/python/pki/server/deployment/pkiscriptlet.py @@ -1,4 +1,3 @@ -#!/usr/bin/python -t # Authors: # Matthew Harmsen <mharmsen@redhat.com> # diff --git a/base/server/python/pki/server/deployment/scriptlets/configuration.py b/base/server/python/pki/server/deployment/scriptlets/configuration.py index a80239374..575a347c2 100644 --- a/base/server/python/pki/server/deployment/scriptlets/configuration.py +++ b/base/server/python/pki/server/deployment/scriptlets/configuration.py @@ -1,4 +1,3 @@ -#!/usr/bin/python -t # Authors: # Matthew Harmsen <mharmsen@redhat.com> # diff --git a/base/server/python/pki/server/deployment/scriptlets/finalization.py b/base/server/python/pki/server/deployment/scriptlets/finalization.py index 3c4f469ac..c816acd20 100644 --- a/base/server/python/pki/server/deployment/scriptlets/finalization.py +++ b/base/server/python/pki/server/deployment/scriptlets/finalization.py @@ -1,4 +1,3 @@ -#!/usr/bin/python -t # Authors: # Matthew Harmsen <mharmsen@redhat.com> # diff --git a/base/server/python/pki/server/deployment/scriptlets/infrastructure_layout.py b/base/server/python/pki/server/deployment/scriptlets/infrastructure_layout.py index f7ef82825..1334cb03c 100644 --- a/base/server/python/pki/server/deployment/scriptlets/infrastructure_layout.py +++ b/base/server/python/pki/server/deployment/scriptlets/infrastructure_layout.py @@ -1,4 +1,3 @@ -#!/usr/bin/python -t # Authors: # Matthew Harmsen <mharmsen@redhat.com> # diff --git a/base/server/python/pki/server/deployment/scriptlets/initialization.py b/base/server/python/pki/server/deployment/scriptlets/initialization.py index dae5a4b14..634136caf 100644 --- a/base/server/python/pki/server/deployment/scriptlets/initialization.py +++ b/base/server/python/pki/server/deployment/scriptlets/initialization.py @@ -1,4 +1,3 @@ -#!/usr/bin/python -t # Authors: # Matthew Harmsen <mharmsen@redhat.com> # diff --git a/base/server/python/pki/server/deployment/scriptlets/instance_layout.py b/base/server/python/pki/server/deployment/scriptlets/instance_layout.py index 4ed505143..eeca2bc0f 100644 --- a/base/server/python/pki/server/deployment/scriptlets/instance_layout.py +++ b/base/server/python/pki/server/deployment/scriptlets/instance_layout.py @@ -1,4 +1,3 @@ -#!/usr/bin/python -t # Authors: # Matthew Harmsen <mharmsen@redhat.com> # diff --git a/base/server/python/pki/server/deployment/scriptlets/security_databases.py b/base/server/python/pki/server/deployment/scriptlets/security_databases.py index 27285dd3e..94ecbc2f0 100644 --- a/base/server/python/pki/server/deployment/scriptlets/security_databases.py +++ b/base/server/python/pki/server/deployment/scriptlets/security_databases.py @@ -1,4 +1,3 @@ -#!/usr/bin/python -t # Authors: # Matthew Harmsen <mharmsen@redhat.com> # diff --git a/base/server/python/pki/server/deployment/scriptlets/selinux_setup.py b/base/server/python/pki/server/deployment/scriptlets/selinux_setup.py index 97fe5b32c..cff6acf31 100644 --- a/base/server/python/pki/server/deployment/scriptlets/selinux_setup.py +++ b/base/server/python/pki/server/deployment/scriptlets/selinux_setup.py @@ -1,4 +1,3 @@ -#!/usr/bin/python -t # Authors: # Ade Lee <alee@redhat.com> # diff --git a/base/server/python/pki/server/deployment/scriptlets/slot_substitution.py b/base/server/python/pki/server/deployment/scriptlets/slot_substitution.py index b35989cc9..bdee48c1f 100644 --- a/base/server/python/pki/server/deployment/scriptlets/slot_substitution.py +++ b/base/server/python/pki/server/deployment/scriptlets/slot_substitution.py @@ -1,4 +1,3 @@ -#!/usr/bin/python -t # Authors: # Matthew Harmsen <mharmsen@redhat.com> # diff --git a/base/server/python/pki/server/deployment/scriptlets/subsystem_layout.py b/base/server/python/pki/server/deployment/scriptlets/subsystem_layout.py index 598a235c9..49899da68 100644 --- a/base/server/python/pki/server/deployment/scriptlets/subsystem_layout.py +++ b/base/server/python/pki/server/deployment/scriptlets/subsystem_layout.py @@ -1,4 +1,3 @@ -#!/usr/bin/python -t # Authors: # Matthew Harmsen <mharmsen@redhat.com> # diff --git a/base/server/python/pki/server/deployment/scriptlets/webapp_deployment.py b/base/server/python/pki/server/deployment/scriptlets/webapp_deployment.py index 2dafe6f81..f9d0ae9b6 100644 --- a/base/server/python/pki/server/deployment/scriptlets/webapp_deployment.py +++ b/base/server/python/pki/server/deployment/scriptlets/webapp_deployment.py @@ -1,4 +1,3 @@ -#!/usr/bin/python -t # Authors: # Matthew Harmsen <mharmsen@redhat.com> # diff --git a/base/server/python/pki/server/upgrade.py b/base/server/python/pki/server/upgrade.py index ffe7c891d..116ef3dda 100644 --- a/base/server/python/pki/server/upgrade.py +++ b/base/server/python/pki/server/upgrade.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # Authors: # Endi S. Dewata <edewata@redhat.com> # |