From: Kefu Chai Date: Sun, 15 Sep 2019 07:45:00 +0000 (+0800) Subject: script/run_tox.sh: remove unused code X-Git-Tag: v15.1.0~1512^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F30386%2Fhead;p=ceph.git 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 --- diff --git a/src/script/run_tox.sh b/src/script/run_tox.sh index 14e3e641d940..e284f3dd678c 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