mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
utils/pypi: set default from_pypi
Signed-off-by: William Woodruff <william@yossarian.net>
This commit is contained in:
parent
685693a8fe
commit
0b3a5d0f6c
@ -19,6 +19,7 @@ module PyPI
|
||||
sig { params(package_string: String, is_url: T::Boolean).void }
|
||||
def initialize(package_string, is_url: false)
|
||||
@pypi_info = nil
|
||||
@from_pypi = true
|
||||
|
||||
if is_url
|
||||
if package_string.start_with?(PYTHONHOSTED_URL_PREFIX)
|
||||
|
Loading…
x
Reference in New Issue
Block a user