Make autovox work with Python 3.5

We still can't use f-strings because of Python 3.5 support.
This commit is contained in:
David Strobach 2020-04-08 20:13:12 +02:00
parent d86cea184b
commit 98bd6b6a48

View file

@ -53,7 +53,9 @@ def get_venv(vox, dirpath):
if len(venvs) > 1:
warnings.warn(
MultipleVenvsWarning(
f"Found {len(venvs)} venvs for {path}; using the first"
"Found {numvenvs} venvs for {path}; using the first".format(
numvenvs=len(venvs), path=path
)
)
)
return venvs[0]