From 73b68aa708e1ffa0e0ab5b021fa93ff3a0f484b1 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Jun 18 2014 12:48:43 +0000 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 --- diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py index d4ed06a..1450003 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 15a6cad..b4e63f3 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 5579180..c422836 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 715ea16..ee0e8b8 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 e1eaab2..81e09c4 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 fbea121..86e7daa 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