Have all the scripts run in python 3 by default

The Python 3 refactoring effort is finishing, it should be safe
to turn all scripts to run in Python 3 by default.

https://pagure.io/freeipa/issue/4985

Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
Stanislav Laznicka
2017-08-31 10:45:31 +02:00
committed by Christian Heimes
parent 1b0c55a3b3
commit f31797c70a
66 changed files with 70 additions and 133 deletions

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python2
#!/usr/bin/python3
#
# Authors: Sumit Bose <sbose@redhat.com>
# Based on ipa-server-install by Karl MacMillan <kmacmillan@mentalrootkit.com>

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python2 -E
#!/usr/bin/python3 -E
# Authors: Tomas Babej <tbabej@redhat.com>
#
# Copyright (C) 2013 Red Hat

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python2 -E
#!/usr/bin/python3 -E
# Authors: Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2013 Red Hat

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python2 -E
#!/usr/bin/python3 -E
# Authors: Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2011 Red Hat

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python2 -E
#!/usr/bin/python3 -E
# Authors: Jan Cholasta <jcholast@redhat.com>
#
# Copyright (C) 2014 Red Hat

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python3
# Authors: Rob Crittenden <rcritten@redhat.com>
# Authors: Simo Sorce <ssorce@redhat.com>
#

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python2 -E
#!/usr/bin/python3 -E
# Authors: Rob Crittenden <rcritten@redhat.com>
#
# Based on ipa-replica-manage by Karl MacMillan <kmacmillan@mentalrootkit.com>

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python3
# Copyright (C) 2017 IPA Project Contributors, see COPYING for license
from ipaserver.secrets.service import main

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python2 -E
#!/usr/bin/python3 -E
# Authors: Martin Nagy <mnagy@redhat.com>
# Based on ipa-server-install by Karl MacMillan <kmacmillan@mentalrootkit.com>
#

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python3
# Authors:
# Christian Heimes <cheimes@redhat.com>
#

View File

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

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python3
# Authors: Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2008 Red Hat

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python3
# Authors: Jr Aquino <jr.aquino@citrix.com>
#
# Copyright (C) 2011 Red Hat

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python3
# Authors: Rob Crittenden <rcritten@redhat.com>
# Authors: Simo Sorce <ssorce@redhat.com>
#

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python2 -E
#!/usr/bin/python3 -E
# Authors: Nathaniel McCallum <npmccallum@redhat.com>
#
# Copyright (C) 2014 Red Hat

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python3
from __future__ import print_function

View File

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

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python2 -E
#!/usr/bin/python3 -E
# Authors: Martin Kosek <mkosek@redhat.com>
#
# Copyright (C) 2011 Red Hat

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python2 -E
#!/usr/bin/python3 -E
# Authors: Karl MacMillan <kmacmillan@mentalrootkit.com>
#
# Copyright (C) 2007 Red Hat

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python2 -E
#!/usr/bin/python3 -E
# Authors: Karl MacMillan <kmacmillan@mentalrootkit.com>
#
# Copyright (C) 2007 Red Hat

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python2 -E
#!/usr/bin/python3 -E
# Authors: Petr Viktorin <pviktori@redhat.com>
#
# Copyright (C) 2012 Red Hat

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python2 -E
#!/usr/bin/python3 -E
# Authors: Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2013 Red Hat

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python2 -E
#!/usr/bin/python3 -E
# Authors: Jan Cholasta <jcholast@redhat.com>
#
# Copyright (C) 2013 Red Hat

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python2 -E
#!/usr/bin/python3 -E
# Authors: Karl MacMillan <kmacmillan@mentalrootkit.com>
# Simo Sorce <ssorce@redhat.com>
# Rob Crittenden <rcritten@redhat.com>

View File

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

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python2 -E
#!/usr/bin/python3 -E
# Authors: Tomas Babej <tbabej@redhat.com>
#
# Copyright (C) 2015 Red Hat

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python3
# Authors: Simo Sorce <ssorce@redhat.com>
#
# Copyright (C) 2008-2010 Red Hat