mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
pypi: handle ignore_non_pypi_packages correctly
Signed-off-by: William Woodruff <william@yossarian.net>
This commit is contained in:
parent
91a9b57d1f
commit
ed653ab219
@ -235,6 +235,7 @@ module PyPI
|
||||
if main_package.valid_pypi_package?
|
||||
main_package.version = version
|
||||
else
|
||||
return if ignore_non_pypi_packages
|
||||
odie "The main package is not a PyPI package. Please update its URL manually."
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user