From 5bf3a94a9c3374e34bf66fe5b1725ff9b49a1f3c Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Tue, 19 Jan 2016 14:37:52 +0100 Subject: 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. --- base/common/python/pki/__init__.py | 1 - base/common/python/pki/account.py | 1 - base/common/python/pki/authority.py | 2 -- base/common/python/pki/cert.py | 2 -- base/common/python/pki/cli.py | 1 - base/common/python/pki/client.py | 1 - base/common/python/pki/crypto.py | 1 - base/common/python/pki/feature.py | 2 -- base/common/python/pki/key.py | 2 -- base/common/python/pki/kra.py | 1 - base/common/python/pki/nss.py | 1 - base/common/python/pki/profile.py | 1 - base/common/python/pki/system.py | 1 - base/common/python/pki/systemcert.py | 1 - base/common/python/pki/upgrade.py | 1 - base/common/python/pki/util.py | 1 - 16 files changed, 20 deletions(-) (limited to 'base/common/python') 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 # 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 # 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 # 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 # 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 # 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 # Ade Lee 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 # 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 # 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 # 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 # 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 # -- cgit