summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMarius Gedminas <marius@gedmin.as>2015-08-27 09:16:11 +0300
committerMarius Gedminas <marius@gedmin.as>2015-08-27 22:15:04 +0300
commit0c6ce31f76f69ccea0ca53ba944a3b2f24a05e40 (patch)
tree7944f0ebe7b899a821dd9ced209dff3dac51104d /tox.ini
parent2ac931d6c9717353fb46984e5aabe8a894e6e3f8 (diff)
downloadansible-0c6ce31f76f69ccea0ca53ba944a3b2f24a05e40.tar.gz
Use 'except ... as' syntax
This syntax works on Python 2.6 through 3.x. lib/ansible/module_utils (and lib/ansible/modules) need to support Python 2.4, so I didn't touch those.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 1031d051e9..e2f68560f8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -26,7 +26,7 @@ whitelist_externals = make
[testenv:py34]
commands =
python --version
- python -m compileall -fq -x 'lib/ansible/module_utils' lib test contrib
+ python -m compileall -fq -x 'lib/ansible/module_utils|lib/ansible/modules' lib test contrib
make tests
deps = -r{toxinidir}/test-requirements.txt
whitelist_externals = make