summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-02-24 15:47:37 +0000
committerGerrit Code Review <review@openstack.org>2020-02-24 15:47:37 +0000
commitdc7322e3c1b5e6162148cb9fe468c28bc82edce0 (patch)
tree663a51c208a7fe7fa755034338f74317fe8227c1
parented287d00fa4837923422291780d434cc54a30c85 (diff)
parent90d1c481430df52df26bee3c7317aed259a99e49 (diff)
downloadoslotest-dc7322e3c1b5e6162148cb9fe468c28bc82edce0.tar.gz
Merge "tools: Default to Python 3"
-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