Browse Source

Cleanup shebang and executable bit

- Add missing executable bits to all scripts
- Remove executable bits from all files that are not scripts,
  e.g. js, html, and Python libraries.
- Remove Python shebang from all Python library files.

It's frown upon to have executable library files in site-packages.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Armando Neto <abiagion@redhat.com>
master
Christian Heimes 2 years ago
parent
commit
9c86d35a3f
38 changed files with 0 additions and 19 deletions
  1. +0
    -1
      daemons/ipa-otpd/test.py
  2. +0
    -0
      daemons/ipa-slapi-plugins/topology/ipa-topology-conf.ldif
  3. +0
    -0
      freeipa.spec.in
  4. +0
    -0
      install/restart_scripts/renew_ca_cert
  5. +0
    -0
      install/restart_scripts/renew_ra_cert
  6. +0
    -0
      install/restart_scripts/restart_dirsrv
  7. +0
    -0
      install/restart_scripts/restart_httpd
  8. +0
    -0
      install/restart_scripts/stop_pkicad
  9. +0
    -0
      install/tools/ipa-cacert-manage
  10. +0
    -0
      install/tools/ipa-kra-install
  11. +0
    -0
      install/tools/ipa-server-upgrade
  12. +0
    -0
      install/ui/less/patternfly/variables.less
  13. +0
    -0
      install/ui/src/freeipa/certificate.js
  14. +0
    -0
      install/ui/test/aci_tests.html
  15. +0
    -0
      install/ui/test/certificate_tests.html
  16. +0
    -0
      install/ui/test/certificate_tests.js
  17. +0
    -0
      install/ui/test/ordered_map_tests.html
  18. +0
    -0
      install/ui/test/ordered_map_tests.js
  19. +0
    -0
      install/ui/test/widget_tests.html
  20. +0
    -2
      ipaclient/csrgen_ffi.py
  21. +0
    -1
      ipaclient/setup.py
  22. +0
    -0
      ipalib/aci.py
  23. +0
    -1
      ipalib/setup.py
  24. +0
    -1
      ipaplatform/setup.py
  25. +0
    -1
      ipapython/setup.py
  26. +0
    -1
      ipaserver/dnssec/localhsm.py
  27. +0
    -1
      ipaserver/dnssec/odsmgr.py
  28. +0
    -1
      ipaserver/install/ipa_kra_install.py
  29. +0
    -2
      ipaserver/setup.py
  30. +0
    -1
      ipatests/pytest_plugins/beakerlib.py
  31. +0
    -1
      ipatests/setup.py
  32. +0
    -4
      ipatests/test_ipapython/test_ipavalidate.py
  33. +0
    -0
      ipatests/test_ipaserver/test_install/test_adtrustinstance.py
  34. +0
    -0
      pypi/freeipa/setup.py
  35. +0
    -0
      pypi/ipa/setup.py
  36. +0
    -0
      pypi/ipaserver/setup.py
  37. +0
    -0
      pypi/ipatests/setup.py
  38. +0
    -1
      pypi/test_placeholder.py

+ 0
- 1
daemons/ipa-otpd/test.py View File

@@ -1,4 +1,3 @@
#!/usr/bin/python3
#
# FreeIPA 2FA companion daemon
#


+ 0
- 0
daemons/ipa-slapi-plugins/topology/ipa-topology-conf.ldif View File


+ 0
- 0
freeipa.spec.in View File


+ 0
- 0
install/restart_scripts/renew_ca_cert View File


+ 0
- 0
install/restart_scripts/renew_ra_cert View File


+ 0
- 0
install/restart_scripts/restart_dirsrv View File


+ 0
- 0
install/restart_scripts/restart_httpd View File


+ 0
- 0
install/restart_scripts/stop_pkicad View File


+ 0
- 0
install/tools/ipa-cacert-manage View File


+ 0
- 0
install/tools/ipa-kra-install View File


+ 0
- 0
install/tools/ipa-server-upgrade View File


+ 0
- 0
install/ui/less/patternfly/variables.less View File


+ 0
- 0
install/ui/src/freeipa/certificate.js View File


+ 0
- 0
install/ui/test/aci_tests.html View File


+ 0
- 0
install/ui/test/certificate_tests.html View File


+ 0
- 0
install/ui/test/certificate_tests.js View File


+ 0
- 0
install/ui/test/ordered_map_tests.html View File


+ 0
- 0
install/ui/test/ordered_map_tests.js View File


+ 0
- 0
install/ui/test/widget_tests.html View File


+ 0
- 2
ipaclient/csrgen_ffi.py View File

@@ -1,5 +1,3 @@
#!/usr/bin/python3

from cffi import FFI
import ctypes.util



+ 0
- 1
ipaclient/setup.py View File

@@ -1,4 +1,3 @@
#!/usr/bin/python3
# Copyright (C) 2007 Red Hat
# see file 'COPYING' for use and warranty information
#


+ 0
- 0
ipalib/aci.py View File


+ 0
- 1
ipalib/setup.py View File

@@ -1,4 +1,3 @@
#!/usr/bin/python3
# Copyright (C) 2007 Red Hat
# see file 'COPYING' for use and warranty information
#


+ 0
- 1
ipaplatform/setup.py View File

@@ -1,4 +1,3 @@
#!/usr/bin/python3
# Copyright (C) 2014 Red Hat
# see file 'COPYING' for use and warranty information
#


+ 0
- 1
ipapython/setup.py View File

@@ -1,4 +1,3 @@
#!/usr/bin/python3
# Copyright (C) 2007 Red Hat
# see file 'COPYING' for use and warranty information
#


+ 0
- 1
ipaserver/dnssec/localhsm.py View File

@@ -1,4 +1,3 @@
#!/usr/bin/python3
#
# Copyright (C) 2014 FreeIPA Contributors see COPYING for license
#


+ 0
- 1
ipaserver/dnssec/odsmgr.py View File

@@ -1,4 +1,3 @@
#!/usr/bin/python3
#
# Copyright (C) 2014 FreeIPA Contributors see COPYING for license
#


+ 0
- 1
ipaserver/install/ipa_kra_install.py View File

@@ -1,4 +1,3 @@
#!/usr/bin/python3 -E
# Authors: Ade Lee <alee@redhat.com>
#
# Copyright (C) 2014 Red Hat


+ 0
- 2
ipaserver/setup.py View File

@@ -1,5 +1,3 @@
#!/usr/bin/python3

# Authors:
# Jason Gerard DeRose <jderose@redhat.com>
#


+ 0
- 1
ipatests/pytest_plugins/beakerlib.py View File

@@ -1,4 +1,3 @@
#!/usr/bin/python3
# Copyright (C) 2014 Red Hat
# see file 'COPYING' for use and warranty information
#


+ 0
- 1
ipatests/setup.py View File

@@ -1,4 +1,3 @@
#!/usr/bin/python3
# Copyright (C) 2007 Red Hat
# see file 'COPYING' for use and warranty information
#


+ 0
- 4
ipatests/test_ipapython/test_ipavalidate.py View File

@@ -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()

+ 0
- 0
ipatests/test_ipaserver/test_install/test_adtrustinstance.py View File


+ 0
- 0
pypi/freeipa/setup.py View File


+ 0
- 0
pypi/ipa/setup.py View File


+ 0
- 0
pypi/ipaserver/setup.py View File


+ 0
- 0
pypi/ipatests/setup.py View File


+ 0
- 1
pypi/test_placeholder.py View File

@@ -1,4 +1,3 @@
#!/usr/bin/env python
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license

import importlib


Loading…
Cancel
Save