From 73b68aa708e1ffa0e0ab5b021fa93ff3a0f484b1 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Fri, 6 Jun 2014 14:51:43 +0200 Subject: 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 --- src/config/SSSDConfigTest.py | 2 +- src/sbus/sbus_codegen | 2 +- src/tests/pyhbac-test.py | 2 +- src/tests/pysss_murmur-test.py | 2 +- src/tests/python-test.py | 2 +- src/tools/sss_obfuscate | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') 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 -- cgit