From 0c6ce31f76f69ccea0ca53ba944a3b2f24a05e40 Mon Sep 17 00:00:00 2001 From: Marius Gedminas Date: Thu, 27 Aug 2015 09:16:11 +0300 Subject: 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. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tox.ini') 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 -- cgit v1.2.1