summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2014-06-06 14:51:43 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-06-18 14:48:43 +0200
commit73b68aa708e1ffa0e0ab5b021fa93ff3a0f484b1 (patch)
tree646c60d4ab4879d504a90bed13f0a28eec3a43c6
parentedf96099f719e591e98be20af416a32cb4aeea73 (diff)
downloadsssd-73b68aa708e1ffa0e0ab5b021fa93ff3a0f484b1.tar.gz
sssd-73b68aa708e1ffa0e0ab5b021fa93ff3a0f484b1.tar.xz
sssd-73b68aa708e1ffa0e0ab5b021fa93ff3a0f484b1.zip
Use python2 in shebang for python scripts.
https://fedorahosted.org/sssd/ticket/2356 The python scripts are not tested with python3 and /usr/bin/python can be symbolic link to python3 on some distributions. Reviewed-by: Sumit Bose <sbose@redhat.com>
-rwxr-xr-xsrc/config/SSSDConfigTest.py2
-rwxr-xr-xsrc/sbus/sbus_codegen2
-rwxr-xr-xsrc/tests/pyhbac-test.py2
-rwxr-xr-xsrc/tests/pysss_murmur-test.py2
-rw-r--r--src/tests/python-test.py2
-rw-r--r--src/tools/sss_obfuscate2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py
index d4ed06ae8..14500031b 100755
--- a/src/config/SSSDConfigTest.py
+++ b/src/config/SSSDConfigTest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
'''
Created on Sep 18, 2009
diff --git a/src/sbus/sbus_codegen b/src/sbus/sbus_codegen
index 15a6cadac..b4e63f33e 100755
--- a/src/sbus/sbus_codegen
+++ b/src/sbus/sbus_codegen
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#
# Authors:
diff --git a/src/tests/pyhbac-test.py b/src/tests/pyhbac-test.py
index 5579180b0..c4228368a 100755
--- a/src/tests/pyhbac-test.py
+++ b/src/tests/pyhbac-test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
import unittest
import sys
diff --git a/src/tests/pysss_murmur-test.py b/src/tests/pysss_murmur-test.py
index 715ea16b3..ee0e8b8a0 100755
--- a/src/tests/pysss_murmur-test.py
+++ b/src/tests/pysss_murmur-test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
# SSSD
#
# Unit tests for pysss_murmur
diff --git a/src/tests/python-test.py b/src/tests/python-test.py
index e1eaab2d1..81e09c4bb 100644
--- a/src/tests/python-test.py
+++ b/src/tests/python-test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
#coding=utf-8
# Authors:
diff --git a/src/tools/sss_obfuscate b/src/tools/sss_obfuscate
index fbea1213d..86e7daa1f 100644
--- a/src/tools/sss_obfuscate
+++ b/src/tools/sss_obfuscate
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
import sys
from optparse import OptionParser