summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2019-12-18 14:42:48 +0000
committerStephen Finucane <stephenfin@redhat.com>2019-12-18 14:45:34 +0000
commit90d1c481430df52df26bee3c7317aed259a99e49 (patch)
treeac42bb58bd18f5ebb84f7adc7051b72149807957
parent644a3e437641699c19be4345feb9504b9d2a4603 (diff)
downloadoslotest-90d1c481430df52df26bee3c7317aed259a99e49.tar.gz
tools: Default to Python 3
It's nearly 2020. This should be the default now. Change-Id: Ia43fb5bf3c7eede7a8f1cf254cd6de8dace25bd8 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
-rwxr-xr-xtools/oslo_debug_helper2
-rwxr-xr-xtools/oslo_run_cross_tests2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/oslo_debug_helper b/tools/oslo_debug_helper
index 0de7efd..e865eda 100755
--- a/tools/oslo_debug_helper
+++ b/tools/oslo_debug_helper
@@ -10,7 +10,7 @@
# relative to the project directory. If no value is passed, it is assumed
# to be packagename/tests.
-PYTHON=${PYTHON:-python}
+PYTHON=${PYTHON:-python3}
TMP_DIR=`mktemp -d debug-$$-XXX` || exit 1
trap "rm -rf $TMP_DIR" EXIT
diff --git a/tools/oslo_run_cross_tests b/tools/oslo_run_cross_tests
index a657ab9..7c79414 100755
--- a/tools/oslo_run_cross_tests
+++ b/tools/oslo_run_cross_tests
@@ -9,7 +9,7 @@
# Fail the build if any command fails
set -e
-PYTHON=${PYTHON:-python}
+PYTHON=${PYTHON:-python3}
function usage {
cat - <<EOF