mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 18:35:13 +00:00
Travis: Fix python2 detection
This commit is contained in:
parent
0afed7ed88
commit
b334ce4d74
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue