aboutsummaryrefslogtreecommitdiff
path: root/src/lib/kdb
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2018-07-03 01:20:50 -0400
committerGreg Hudson <ghudson@mit.edu>2018-07-05 15:02:24 -0400
commit2bd410ecdb366083fe9b4e5f6ac4b741b624230b (patch)
tree90d4cc301aac54d15deb906a6ff13b616a537990 /src/lib/kdb
parent368b0b02390f0450c0123db7b172206d9847b6fd (diff)
downloadkrb5-2bd410ecdb366083fe9b4e5f6ac4b741b624230b.zip
krb5-2bd410ecdb366083fe9b4e5f6ac4b741b624230b.tar.gz
krb5-2bd410ecdb366083fe9b4e5f6ac4b741b624230b.tar.bz2
Explicitly look for python2 in configure.in
The executable "python" has traditionally been Python 2, but is becoming more ambiguous as operating systems transition towards Python 3. Look for "python2" in the path in preference to "python", and check that what we found isn't Python 3. Remove the "#!/usr/bin/python" headers at the start of Python test scripts since we run them explicitly under python, not as executables. Execute paste-kdcproxy.py via sys.executable in t_proxy.py so that it doesn't need a #!/usr/bin/python header. ticket: 8709 (new)
Diffstat (limited to 'src/lib/kdb')
-rwxr-xr-xsrc/lib/kdb/t_stringattr.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/kdb/t_stringattr.py b/src/lib/kdb/t_stringattr.py
index 085e179..93e2b0c 100755
--- a/src/lib/kdb/t_stringattr.py
+++ b/src/lib/kdb/t_stringattr.py
@@ -1,4 +1,3 @@
-#!/usr/bin/python
from k5test import *
realm = K5Realm(create_kdb=False)