Skip to content
Snippets Groups Projects
Commit fc9d715f authored by Dustin Rodrigues's avatar Dustin Rodrigues
Browse files

utils/pypi: downcase name prior to excluding

parent 028b70c7
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,7 @@ module PyPI
packages = JSON.parse(pipgrip_output).sort.to_h
# Remove extra packages that may be included in pipgrip output
exclude_list = %W[#{pypi_name} argparse pip setuptools wheel wsgiref]
exclude_list = %W[#{pypi_name.downcase} argparse pip setuptools wheel wsgiref]
packages.delete_if do |package|
exclude_list.include? package
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment