scripts: sphinx-pre-install: only ask to activate valid venvs
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 21 Apr 2020 14:31:05 +0000 (16:31 +0200)
committerJonathan Corbet <corbet@lwn.net>
Tue, 28 Apr 2020 18:52:02 +0000 (12:52 -0600)
commita8b380c379efcade6008cb5e2359073b72e73ad8
tree68462fa5bfde572855119cd74b1bbeec6fefa8b2
parent1f5ea8720e8db71d768533bf61773ecdbf9fdcc2
scripts: sphinx-pre-install: only ask to activate valid venvs

If a venv doesn't contain Sphinx, or has an older Sphinx
version, ignore it.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/d11a00d88514e8a0357e1b0a05ebd518952a1d39.1587478901.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/sphinx-pre-install