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>
This commit is contained in:
Christian Heimes committed 2018-07-05 19:46:42 +02:00
1 parent 198a2c6112
commit 9c86d35a3f
38 files changed
-19

No files matched your search

-1
View File
@@ -1,4 +1,3 @@
#!/usr/bin/python3
#
# FreeIPA 2FA companion daemon
#
View File
File mode changed.
Executable → Regular
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
Regular → Executable
View File
File mode changed.
Regular → Executable
View File
File mode changed.
Regular → Executable
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
Executable → Regular
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
-2
View File
@@ -1,5 +1,3 @@
#!/usr/bin/python3
from cffi import FFI
import ctypes.util
-1
View File
@@ -1,4 +1,3 @@
#!/usr/bin/python3
# Copyright (C) 2007 Red Hat
# see file 'COPYING' for use and warranty information
#
Executable → Regular
View File
File mode changed.
-1
View File
@@ -1,4 +1,3 @@
#!/usr/bin/python3
# Copyright (C) 2007 Red Hat
# see file 'COPYING' for use and warranty information
#
-1
View File
@@ -1,4 +1,3 @@
#!/usr/bin/python3
# Copyright (C) 2014 Red Hat
# see file 'COPYING' for use and warranty information
#
Executable → Regular
-1
View File
@@ -1,4 +1,3 @@
#!/usr/bin/python3
# Copyright (C) 2007 Red Hat
# see file 'COPYING' for use and warranty information
#
Executable → Regular
-1
View File
@@ -1,4 +1,3 @@
#!/usr/bin/python3
#
# Copyright (C) 2014 FreeIPA Contributors see COPYING for license
#
-1
View File
@@ -1,4 +1,3 @@
#!/usr/bin/python3
#
# Copyright (C) 2014 FreeIPA Contributors see COPYING for license
#
-1
View File
@@ -1,4 +1,3 @@
#!/usr/bin/python3 -E
# Authors: Ade Lee <alee@redhat.com>
#
# Copyright (C) 2014 Red Hat
Executable → Regular
-2
View File
@@ -1,5 +1,3 @@
#!/usr/bin/python3
# Authors:
# Jason Gerard DeRose <jderose@redhat.com>
#
-1
View File
@@ -1,4 +1,3 @@
#!/usr/bin/python3
# Copyright (C) 2014 Red Hat
# see file 'COPYING' for use and warranty information
#
-1
View File
@@ -1,4 +1,3 @@
#!/usr/bin/python3
# Copyright (C) 2007 Red Hat
# see file 'COPYING' for use and warranty information
#
@@ -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()
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
-1
View File
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
import importlib