Merge pull request #7116 from Bo98/python
python: Fix error in virtualenv_install_with_resources
This commit is contained in:
commit
98935fd777
@ -172,6 +172,7 @@ module Language
|
||||
wanted = pythons.select { |py| needs_python?(py) }
|
||||
raise FormulaAmbiguousPythonError, self if wanted.size > 1
|
||||
|
||||
python = wanted.first
|
||||
python = "python3" if python == "python"
|
||||
end
|
||||
venv = virtualenv_create(libexec, python.delete("@"))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user