Commit 07a270fd authored by Xavier Thompson's avatar Xavier Thompson

[fix] Fix package index selection indexing

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