Reword comment above get_pypi_info
This commit is contained in:
parent
b08d1a28ad
commit
9dd52a83e4
@ -21,7 +21,7 @@ module PyPI
|
|||||||
url
|
url
|
||||||
end
|
end
|
||||||
|
|
||||||
# Get name, url, and version for a given pypi package
|
# Get name, url and sha256 for a given pypi package
|
||||||
def get_pypi_info(package, version)
|
def get_pypi_info(package, version)
|
||||||
metadata_url = "https://pypi.org/pypi/#{package}/#{version}/json"
|
metadata_url = "https://pypi.org/pypi/#{package}/#{version}/json"
|
||||||
out, _, status = curl_output metadata_url, "--location"
|
out, _, status = curl_output metadata_url, "--location"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user