Commit c0b1e379 by David Hotham Committed by Randy Döring

set lookup is more efficient than list lookup

parent b95ee16d
......@@ -120,7 +120,7 @@ class Chooser:
repository = self._pool.repository("pypi")
links = repository.find_links_for_package(package)
hashes = [f["hash"] for f in package.files]
hashes = {f["hash"] for f in package.files}
if not hashes:
return links
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment