package_base: all_urls includes not only first of urls

This commit is contained in:
Wouter Deconinck 2024-08-10 14:08:32 -07:00 committed by GitHub
parent 2dbc5213b0
commit fbfbb9710d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2426,9 +2426,8 @@ def all_urls(self) -> List[str]:
if hasattr(self, "url") and self.url:
urls.append(self.url)
# fetch from first entry in urls to save time
if hasattr(self, "urls") and self.urls:
urls.append(self.urls[0])
urls.extend(self.urls)
for args in self.versions.values():
if "url" in args: