Skip to content

Commit

Permalink
Case insensitive comparison
Browse files Browse the repository at this point in the history
Co-authored-by: Galen Rice <galen.rice@torqata.com>
  • Loading branch information
deivid-rodriguez and GriceTurrble committed Aug 21, 2023
1 parent 5aa5210 commit 3d0ab55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def pyproject_index_urls
sources.each do |source|
if source["default"]
urls[:main] = source["url"]
elsif source["name"] == "PyPI"
elsif source["name"].casecmp?("PyPI")
urls[:main] = "https://pypi.org/pypi/simple/"
else
urls[:extra] << source["url"]
Expand Down

0 comments on commit 3d0ab55

Please sign in to comment.