Use /usr/bin/python2

Part of the effort to port FreeIPA to Arch Linux,
where Python 3 is the default.

FreeIPA hasn't been ported to Python 3, so the code must be modified to
run /usr/bin/python2

https://fedorahosted.org/freeipa/ticket/3438

Updated by pviktori@redhat.com
This commit is contained in:
Xiao-Long Chen
2013-11-27 14:53:57 +01:00
committed by Martin Kosek
parent 2a2f5ac4e6
commit 5e96fbc22a
54 changed files with 60 additions and 61 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python -E
#!/usr/bin/python2 -E
#
# Authors:
# Rob Crittenden <rcritten@redhat.com>

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python
#! /usr/bin/python2
# -*- coding: iso-8859-1 -*-
# Originally written by Barry Warsaw <barry@zope.com>
#

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python -E
#!/usr/bin/python2 -E
#
# Authors:
# Rob Crittenden <rcritten@redhat.com>

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python -E
#!/usr/bin/python2 -E
#
# Authors:
# Rob Crittenden <rcritten@redhat.com>

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python -E
#!/usr/bin/python2 -E
#
# Authors:
# Rob Crittenden <rcritten@redhat.com>

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python -E
#!/usr/bin/python2 -E
#
# Authors:
# Rob Crittenden <rcritten@redhat.com>

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python -E
#!/usr/bin/python2 -E
#
# Authors:
# Rob Crittenden <rcritten@redhat.com>

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python -E
#!/usr/bin/python2 -E
#
# Authors:
# Rob Crittenden <rcritten@redhat.com>

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python
#! /usr/bin/python2
"""Copy the IPA schema to the CA directory server instance

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python -E
#! /usr/bin/python2 -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/python -E
#! /usr/bin/python2 -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/python
#!/usr/bin/python2
# Authors: Rob Crittenden <rcritten@redhat.com>
#
# Copyright (C) 2008 Red Hat

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
#! /usr/bin/python -E
#! /usr/bin/python2 -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/python
#!/usr/bin/python2
#
# Authors:
# Rob Crittenden <rcritten@redhat.com>

View File

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