mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-07-29 15:55:47 -05:00
Rename Python scripts and add dynamic shebang
All Python scripts are now generated from a template with a dynamic
shebang.
ipatests/i18n.py is no longer an executable script with shebang. The
module is not executed as script directly, but rather as
$(PYTHON) ipatests/i18n.py
Fixes: https://pagure.io/freeipa/issue/7680
All Python scripts are now template files with a dynamic shebang line.
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
@PYTHONSHEBANG@
|
||||
#
|
||||
# Authors: Sumit Bose <sbose@redhat.com>
|
||||
# Based on ipa-server-install by Karl MacMillan <kmacmillan@mentalrootkit.com>
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3 -E
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Tomas Babej <tbabej@redhat.com>
|
||||
#
|
||||
# Copyright (C) 2013 Red Hat
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3 -E
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Rob Crittenden <rcritten@redhat.com>
|
||||
#
|
||||
# Copyright (C) 2013 Red Hat
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3 -E
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Rob Crittenden <rcritten@redhat.com>
|
||||
#
|
||||
# Copyright (C) 2011 Red Hat
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3 -E
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Jan Cholasta <jcholast@redhat.com>
|
||||
#
|
||||
# Copyright (C) 2014 Red Hat
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Rob Crittenden <rcritten@redhat.com>
|
||||
# Authors: Simo Sorce <ssorce@redhat.com>
|
||||
#
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3 -E
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Rob Crittenden <rcritten@redhat.com>
|
||||
#
|
||||
# Based on ipa-replica-manage by Karl MacMillan <kmacmillan@mentalrootkit.com>
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
@PYTHONSHEBANG@
|
||||
"""Test client for ipa-custodia
|
||||
|
||||
The test script is expected to be executed on an IPA server with existing
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
@PYTHONSHEBANG@
|
||||
# Copyright (C) 2017 IPA Project Contributors, see COPYING for license
|
||||
from ipaserver.secrets.service import main
|
||||
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3 -E
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Martin Nagy <mnagy@redhat.com>
|
||||
# Based on ipa-server-install by Karl MacMillan <kmacmillan@mentalrootkit.com>
|
||||
#
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
@PYTHONSHEBANG@
|
||||
# Authors:
|
||||
# Christian Heimes <cheimes@redhat.com>
|
||||
#
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3 -E
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Ade Lee <alee@redhat.com>
|
||||
#
|
||||
# Copyright (C) 2014 Red Hat
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Rob Crittenden <rcritten@redhat.com>
|
||||
#
|
||||
# Copyright (C) 2008 Red Hat
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Jr Aquino <jr.aquino@citrix.com>
|
||||
#
|
||||
# Copyright (C) 2011 Red Hat
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Rob Crittenden <rcritten@redhat.com>
|
||||
# Authors: Simo Sorce <ssorce@redhat.com>
|
||||
#
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3 -E
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Nathaniel McCallum <npmccallum@redhat.com>
|
||||
#
|
||||
# Copyright (C) 2014 Red Hat
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
@PYTHONSHEBANG@
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3 -E
|
||||
@PYTHONSHEBANG@
|
||||
#
|
||||
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
|
||||
#
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3 -E
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Martin Kosek <mkosek@redhat.com>
|
||||
#
|
||||
# Copyright (C) 2011 Red Hat
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3 -E
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Karl MacMillan <kmacmillan@mentalrootkit.com>
|
||||
#
|
||||
# Copyright (C) 2007 Red Hat
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3 -E
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Karl MacMillan <kmacmillan@mentalrootkit.com>
|
||||
#
|
||||
# Copyright (C) 2007 Red Hat
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3 -E
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Petr Viktorin <pviktori@redhat.com>
|
||||
#
|
||||
# Copyright (C) 2012 Red Hat
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3 -E
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Rob Crittenden <rcritten@redhat.com>
|
||||
#
|
||||
# Copyright (C) 2013 Red Hat
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3 -E
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Jan Cholasta <jcholast@redhat.com>
|
||||
#
|
||||
# Copyright (C) 2013 Red Hat
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3 -E
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Karl MacMillan <kmacmillan@mentalrootkit.com>
|
||||
# Simo Sorce <ssorce@redhat.com>
|
||||
# Rob Crittenden <rcritten@redhat.com>
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
@PYTHONSHEBANG@
|
||||
#
|
||||
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
|
||||
#
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3 -E
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Tomas Babej <tbabej@redhat.com>
|
||||
#
|
||||
# Copyright (C) 2015 Red Hat
|
||||
Executable → Regular
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
@PYTHONSHEBANG@
|
||||
# Authors: Simo Sorce <ssorce@redhat.com>
|
||||
#
|
||||
# Copyright (C) 2008-2010 Red Hat
|
||||
Reference in New Issue
Block a user