Commits

Pierre-Yves David committed 06cd591

Fix parenthesis issue in tests/run_envs.py

When no cache were defined, the ``Popen`` call was empty.

  • Participants
  • Parent commits 2b4d300

Comments (0)

Files changed (1)

tests/run_envs.py

 success = True
 for python in pythons:
    for mercurial in mercurials:
-      proc = subprocess.Popen(['./run.sh', python, mercurial] + [cache] if cache else [])
+      proc = subprocess.Popen(['./run.sh', python, mercurial] + ([cache] if cache else []))
       ret = proc.wait()
       success &= (ret == 0)
       print "="*70