def _get_index_urls_locations(self, project_name):<EOL>
def mkurl_pypi_url(url):<EOL><INDENT>loc = posixpath.join(<EOL>url,<EOL>urllib_parse.quote(canonicalize_name(project_name)))<EOL>if not loc.endswith('<STR_LIT:/>'):<EOL><INDENT>loc = loc + '<STR_LIT:/>'<EOL><DEDENT>return loc<EOL><DEDENT>return [mkurl_pypi_url(url) for url in self.index_urls]<EOL>
Returns the locations found via self.index_urls

        Checks the url_name on the main (first in the list) index and
        use this url_name to produce all locations