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:
1 parent
198a2c6112
commit
9c86d35a3f
38 files changed
-19
No files matched your search
@@ -1,4 +1,3 @@
|
|||||||
#!/usr/bin/python3
|
|
||||||
#
|
#
|
||||||
# FreeIPA 2FA companion daemon
|
# FreeIPA 2FA companion daemon
|
||||||
#
|
#
|
||||||
|
|||||||
Executable → Regular
File mode changed.
Executable → Regular
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Regular → Executable
File mode changed.
Executable → Regular
File mode changed.
Executable → Regular
File mode changed.
Executable → Regular
File mode changed.
Executable → Regular
File mode changed.
Executable → Regular
File mode changed.
Executable → Regular
File mode changed.
Executable → Regular
File mode changed.
Executable → Regular
File mode changed.
@@ -1,5 +1,3 @@
|
|||||||
#!/usr/bin/python3
|
|
||||||
|
|
||||||
from cffi import FFI
|
from cffi import FFI
|
||||||
import ctypes.util
|
import ctypes.util
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
#!/usr/bin/python3
|
|
||||||
# Copyright (C) 2007 Red Hat
|
# Copyright (C) 2007 Red Hat
|
||||||
# see file 'COPYING' for use and warranty information
|
# see file 'COPYING' for use and warranty information
|
||||||
#
|
#
|
||||||
|
|||||||
Executable → Regular
File mode changed.
@@ -1,4 +1,3 @@
|
|||||||
#!/usr/bin/python3
|
|
||||||
# Copyright (C) 2007 Red Hat
|
# Copyright (C) 2007 Red Hat
|
||||||
# see file 'COPYING' for use and warranty information
|
# see file 'COPYING' for use and warranty information
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
#!/usr/bin/python3
|
|
||||||
# Copyright (C) 2014 Red Hat
|
# Copyright (C) 2014 Red Hat
|
||||||
# see file 'COPYING' for use and warranty information
|
# see file 'COPYING' for use and warranty information
|
||||||
#
|
#
|
||||||
|
|||||||
Executable → Regular
-1
@@ -1,4 +1,3 @@
|
|||||||
#!/usr/bin/python3
|
|
||||||
# Copyright (C) 2007 Red Hat
|
# Copyright (C) 2007 Red Hat
|
||||||
# see file 'COPYING' for use and warranty information
|
# see file 'COPYING' for use and warranty information
|
||||||
#
|
#
|
||||||
|
|||||||
Executable → Regular
-1
@@ -1,4 +1,3 @@
|
|||||||
#!/usr/bin/python3
|
|
||||||
#
|
#
|
||||||
# Copyright (C) 2014 FreeIPA Contributors see COPYING for license
|
# Copyright (C) 2014 FreeIPA Contributors see COPYING for license
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
#!/usr/bin/python3
|
|
||||||
#
|
#
|
||||||
# Copyright (C) 2014 FreeIPA Contributors see COPYING for license
|
# Copyright (C) 2014 FreeIPA Contributors see COPYING for license
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
#!/usr/bin/python3 -E
|
|
||||||
# Authors: Ade Lee <alee@redhat.com>
|
# Authors: Ade Lee <alee@redhat.com>
|
||||||
#
|
#
|
||||||
# Copyright (C) 2014 Red Hat
|
# Copyright (C) 2014 Red Hat
|
||||||
|
|||||||
Executable → Regular
-2
@@ -1,5 +1,3 @@
|
|||||||
#!/usr/bin/python3
|
|
||||||
|
|
||||||
# Authors:
|
# Authors:
|
||||||
# Jason Gerard DeRose <jderose@redhat.com>
|
# Jason Gerard DeRose <jderose@redhat.com>
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
#!/usr/bin/python3
|
|
||||||
# Copyright (C) 2014 Red Hat
|
# Copyright (C) 2014 Red Hat
|
||||||
# see file 'COPYING' for use and warranty information
|
# see file 'COPYING' for use and warranty information
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
#!/usr/bin/python3
|
|
||||||
# Copyright (C) 2007 Red Hat
|
# Copyright (C) 2007 Red Hat
|
||||||
# see file 'COPYING' for use and warranty information
|
# see file 'COPYING' for use and warranty information
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
#!/usr/bin/python3 -E
|
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007 Red Hat
|
# Copyright (C) 2007 Red Hat
|
||||||
# see file 'COPYING' for use and warranty information
|
# 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%bar"))
|
||||||
self.assertEqual(False, ipavalidate.GoodName("*foo"))
|
self.assertEqual(False, ipavalidate.GoodName("*foo"))
|
||||||
self.assertEqual(False, ipavalidate.GoodName("$foo.bar$"))
|
self.assertEqual(False, ipavalidate.GoodName("$foo.bar$"))
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
Executable → Regular
File mode changed.
Executable → Regular
File mode changed.
Executable → Regular
File mode changed.
Executable → Regular
File mode changed.
Executable → Regular
File mode changed.
@@ -1,4 +1,3 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
|
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
|
||||||
|
|
||||||
import importlib
|
import importlib
|
||||||
|
|||||||
Reference in new issue
Block a user