stage.py: improve path to url (#47898)
This commit is contained in:
parent
4e913876b9
commit
d0ea33fa67
@ -487,7 +487,7 @@ def _generate_fetchers(self, mirror_only=False) -> Generator["fs.FetchStrategy",
|
|||||||
# Insert fetchers in the order that the URLs are provided.
|
# Insert fetchers in the order that the URLs are provided.
|
||||||
fetchers[:0] = (
|
fetchers[:0] = (
|
||||||
fs.from_url_scheme(
|
fs.from_url_scheme(
|
||||||
url_util.join(mirror.fetch_url, self.mirror_layout.path),
|
url_util.join(mirror.fetch_url, *self.mirror_layout.path.split(os.sep)),
|
||||||
checksum=digest,
|
checksum=digest,
|
||||||
expand=expand,
|
expand=expand,
|
||||||
extension=extension,
|
extension=extension,
|
||||||
|
Loading…
Reference in New Issue
Block a user