From b334ce4d741292c2ed8be960fbf715eeacb4b136 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Tue, 5 May 2020 14:59:12 +0200 Subject: [PATCH] Travis: Fix python2 detection --- .travis/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis/config.sh b/.travis/config.sh index 16b9e58..59b9cf4 100644 --- a/.travis/config.sh +++ b/.travis/config.sh @@ -39,7 +39,7 @@ # # - RUN_FLAKE8_DISABLED # - RUN_FLAKE8_EXTRA_ARGS -if [[ "$(python2 -c "import sys; print(sys.version_info.major)")" == "2" ]] +if [[ "$(python -c "import sys; print(sys.version_info.major)")" == "2" ]] then PYTHON2_EXCLUDES="tests/ensure_provider_tests.py" FLAKE8_DEFAULT_EXCLUDES=".svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg"