diff --git a/daemons/ipa-otpd/test.py b/daemons/ipa-otpd/test.py index 5c288e57c..81c0e077d 100644 --- a/daemons/ipa-otpd/test.py +++ b/daemons/ipa-otpd/test.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 # # FreeIPA 2FA companion daemon # diff --git a/daemons/ipa-slapi-plugins/topology/ipa-topology-conf.ldif b/daemons/ipa-slapi-plugins/topology/ipa-topology-conf.ldif old mode 100755 new mode 100644 diff --git a/freeipa.spec.in b/freeipa.spec.in old mode 100755 new mode 100644 diff --git a/install/restart_scripts/renew_ca_cert b/install/restart_scripts/renew_ca_cert old mode 100644 new mode 100755 diff --git a/install/restart_scripts/renew_ra_cert b/install/restart_scripts/renew_ra_cert old mode 100644 new mode 100755 diff --git a/install/restart_scripts/restart_dirsrv b/install/restart_scripts/restart_dirsrv old mode 100644 new mode 100755 diff --git a/install/restart_scripts/restart_httpd b/install/restart_scripts/restart_httpd old mode 100644 new mode 100755 diff --git a/install/restart_scripts/stop_pkicad b/install/restart_scripts/stop_pkicad old mode 100644 new mode 100755 diff --git a/install/tools/ipa-cacert-manage b/install/tools/ipa-cacert-manage old mode 100644 new mode 100755 diff --git a/install/tools/ipa-kra-install b/install/tools/ipa-kra-install old mode 100644 new mode 100755 diff --git a/install/tools/ipa-server-upgrade b/install/tools/ipa-server-upgrade old mode 100644 new mode 100755 diff --git a/install/ui/less/patternfly/variables.less b/install/ui/less/patternfly/variables.less old mode 100755 new mode 100644 diff --git a/install/ui/src/freeipa/certificate.js b/install/ui/src/freeipa/certificate.js old mode 100755 new mode 100644 diff --git a/install/ui/test/aci_tests.html b/install/ui/test/aci_tests.html old mode 100755 new mode 100644 diff --git a/install/ui/test/certificate_tests.html b/install/ui/test/certificate_tests.html old mode 100755 new mode 100644 diff --git a/install/ui/test/certificate_tests.js b/install/ui/test/certificate_tests.js old mode 100755 new mode 100644 diff --git a/install/ui/test/ordered_map_tests.html b/install/ui/test/ordered_map_tests.html old mode 100755 new mode 100644 diff --git a/install/ui/test/ordered_map_tests.js b/install/ui/test/ordered_map_tests.js old mode 100755 new mode 100644 diff --git a/install/ui/test/widget_tests.html b/install/ui/test/widget_tests.html old mode 100755 new mode 100644 diff --git a/ipaclient/csrgen_ffi.py b/ipaclient/csrgen_ffi.py index c5428cfd4..10a20bdae 100644 --- a/ipaclient/csrgen_ffi.py +++ b/ipaclient/csrgen_ffi.py @@ -1,5 +1,3 @@ -#!/usr/bin/python3 - from cffi import FFI import ctypes.util diff --git a/ipaclient/setup.py b/ipaclient/setup.py index aaab5c979..8eb9aeedc 100644 --- a/ipaclient/setup.py +++ b/ipaclient/setup.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 # Copyright (C) 2007 Red Hat # see file 'COPYING' for use and warranty information # diff --git a/ipalib/aci.py b/ipalib/aci.py old mode 100755 new mode 100644 diff --git a/ipalib/setup.py b/ipalib/setup.py index d21f36e33..32f55c2f0 100644 --- a/ipalib/setup.py +++ b/ipalib/setup.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 # Copyright (C) 2007 Red Hat # see file 'COPYING' for use and warranty information # diff --git a/ipaplatform/setup.py b/ipaplatform/setup.py index 32cee9f87..69101794e 100644 --- a/ipaplatform/setup.py +++ b/ipaplatform/setup.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 # Copyright (C) 2014 Red Hat # see file 'COPYING' for use and warranty information # diff --git a/ipapython/setup.py b/ipapython/setup.py old mode 100755 new mode 100644 index 1d0ac043f..b1f006ef1 --- a/ipapython/setup.py +++ b/ipapython/setup.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 # Copyright (C) 2007 Red Hat # see file 'COPYING' for use and warranty information # diff --git a/ipaserver/dnssec/localhsm.py b/ipaserver/dnssec/localhsm.py old mode 100755 new mode 100644 index 6a85ce3a3..d02fdbe14 --- a/ipaserver/dnssec/localhsm.py +++ b/ipaserver/dnssec/localhsm.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 # # Copyright (C) 2014 FreeIPA Contributors see COPYING for license # diff --git a/ipaserver/dnssec/odsmgr.py b/ipaserver/dnssec/odsmgr.py index 4bd051e28..7cdd6e43b 100644 --- a/ipaserver/dnssec/odsmgr.py +++ b/ipaserver/dnssec/odsmgr.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 # # Copyright (C) 2014 FreeIPA Contributors see COPYING for license # diff --git a/ipaserver/install/ipa_kra_install.py b/ipaserver/install/ipa_kra_install.py index cb097e9fe..b8be794de 100644 --- a/ipaserver/install/ipa_kra_install.py +++ b/ipaserver/install/ipa_kra_install.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 -E # Authors: Ade Lee # # Copyright (C) 2014 Red Hat diff --git a/ipaserver/setup.py b/ipaserver/setup.py old mode 100755 new mode 100644 index 0f7d4709f..5ee50efe9 --- a/ipaserver/setup.py +++ b/ipaserver/setup.py @@ -1,5 +1,3 @@ -#!/usr/bin/python3 - # Authors: # Jason Gerard DeRose # diff --git a/ipatests/pytest_plugins/beakerlib.py b/ipatests/pytest_plugins/beakerlib.py index 53e2a80e0..0668b48a2 100644 --- a/ipatests/pytest_plugins/beakerlib.py +++ b/ipatests/pytest_plugins/beakerlib.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 # Copyright (C) 2014 Red Hat # see file 'COPYING' for use and warranty information # diff --git a/ipatests/setup.py b/ipatests/setup.py index 274787d4d..7cad27923 100644 --- a/ipatests/setup.py +++ b/ipatests/setup.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 # Copyright (C) 2007 Red Hat # see file 'COPYING' for use and warranty information # diff --git a/ipatests/test_ipapython/test_ipavalidate.py b/ipatests/test_ipapython/test_ipavalidate.py index a4e5ddefe..fcf7c73f9 100644 --- a/ipatests/test_ipapython/test_ipavalidate.py +++ b/ipatests/test_ipapython/test_ipavalidate.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 -E # # Copyright (C) 2007 Red Hat # see file 'COPYING' for use and warranty information @@ -89,6 +88,3 @@ class TestValidate(unittest.TestCase): self.assertEqual(False, ipavalidate.GoodName("foo%bar")) self.assertEqual(False, ipavalidate.GoodName("*foo")) self.assertEqual(False, ipavalidate.GoodName("$foo.bar$")) - -if __name__ == '__main__': - unittest.main() diff --git a/ipatests/test_ipaserver/test_install/test_adtrustinstance.py b/ipatests/test_ipaserver/test_install/test_adtrustinstance.py old mode 100755 new mode 100644 diff --git a/pypi/freeipa/setup.py b/pypi/freeipa/setup.py old mode 100755 new mode 100644 diff --git a/pypi/ipa/setup.py b/pypi/ipa/setup.py old mode 100755 new mode 100644 diff --git a/pypi/ipaserver/setup.py b/pypi/ipaserver/setup.py old mode 100755 new mode 100644 diff --git a/pypi/ipatests/setup.py b/pypi/ipatests/setup.py old mode 100755 new mode 100644 diff --git a/pypi/test_placeholder.py b/pypi/test_placeholder.py index 2196f683c..73f4faa61 100644 --- a/pypi/test_placeholder.py +++ b/pypi/test_placeholder.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python # Copyright (C) 2017 FreeIPA Contributors see COPYING for license import importlib