Commit 02e91222 authored by Xavier Thompson's avatar Xavier Thompson

[fix] Fix package index selection indexing

Index constructed package indexes by all their parameters.
parent c09709c8
......@@ -142,7 +142,7 @@ class AllowHostsPackageIndex(setuptools.package_index.PackageIndex):
_indexes = {}
def _get_index(index_url, find_links, allow_hosts=('*',)):
key = index_url, tuple(find_links)
key = index_url, tuple(find_links), allow_hosts
index = _indexes.get(key)
if index is not None:
return index
......
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