From 8e6cc6089953e6493cc24b6a38b34c5f2809f6fa Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sun, 15 Sep 2019 15:45:00 +0800 Subject: [PATCH] script/run_tox.sh: remove unused code it's a follow-up of 793308f8, where the code to use python2/python3 to determine env_list was removed already Signed-off-by: Kefu Chai --- src/script/run_tox.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/script/run_tox.sh b/src/script/run_tox.sh index 14e3e641d9406..e284f3dd678c3 100755 --- a/src/script/run_tox.sh +++ b/src/script/run_tox.sh @@ -101,12 +101,6 @@ function main() { esac done - # normalize options - [ "$with_python2" = "ON" ] && with_python2=true || with_python2=false - # WITH_PYTHON3 might be set to "ON" or to the python3 RPM version number - # prevailing on the system - e.g. "3", "36" - [[ "$with_python3" =~ (^3|^ON) ]] && with_python3=true || with_python3=false - local test_name if [ -z "$tox_path" ]; then # try harder -- 2.39.5