From 2827f1160613e4ad6f8af77c12c84a5831decd39 Mon Sep 17 00:00:00 2001 From: Jonathan Maw Date: Fri, 25 May 2018 15:11:54 +0100 Subject: Improve combination generation, include whether to generate numbered suffixes --- buildstream/_mirror.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'buildstream/_mirror.py') diff --git a/buildstream/_mirror.py b/buildstream/_mirror.py index d98a5b0b2..c98529f0e 100644 --- a/buildstream/_mirror.py +++ b/buildstream/_mirror.py @@ -58,7 +58,7 @@ class DefaultMirror(Mirror): def get_mirror_uris(self, uri, source): url_prefix, url_body = uri.split(utils._ALIAS_SEPARATOR, 1) for alias_uri in self.aliases.get(url_prefix, []): - yield alias_uri + url_body + yield alias_uri + url_body, False class BstGeneratedMirror(Mirror): @@ -76,4 +76,4 @@ class BstGeneratedMirror(Mirror): self.aliases_covered = _yaml.node_get(node, list, 'aliases-covered') def get_mirror_uris(self, uri, source): - yield source.get_normalised_mirror_path(uri, prefix=self.site) + yield source.get_normalised_mirror_path(uri, prefix=self.site), True -- cgit v1.2.1