From 65d9a3299f9261abdcc0bb323f27bad6d2fcf9ba Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Mon, 21 Dec 2015 07:20:50 -0500 Subject: [PATCH] Do not fail with Tox 2.3.1 Latest tox causes failures: File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 1140, in processcommand argv = list(shlexer) File "/usr/lib/python2.7/shlex.py", line 269, in next token = self.get_token() File "/usr/lib/python2.7/shlex.py", line 96, in get_token raw = self.read_token() File "/usr/lib/python2.7/shlex.py", line 172, in read_token raise ValueError, "No closing quotation" ValueError: No closing quotation This is caused by a backwards incompatible change in tox: https://bitbucket.org/hpk42/tox/issues/181 We need to work with both older and newer tox versions, so let's remove the comment at the end of the line Change-Id: Id5ec8aeb700fcf9a63888e41e408d26b6e3e8481 --- tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index c6b113b8d0..0d27c8082c 100644 --- a/tox.ini +++ b/tox.ini @@ -30,9 +30,9 @@ commands = flake8 deps = bashate whitelist_externals = bash commands = bash -c "find {toxinidir} \ - -not \( -type d -name .?\* -prune \) \ # prune all 'dot' dirs - -type f \ # only files - -not -name \*~ \ # skip editors, readme, etc + -not \( -type d -name .?\* -prune \) \ + -type f \ + -not -name \*~ \ -not -name \*.md \ -name \*.sh \ -print0 | xargs -0 bashate -v"