Commit 2d35cb13 authored by Mattia Rizzolo's avatar Mattia Rizzolo

downloads: drom now unused overriding code

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mapreri@ubuntu.com>
parent e9c33474
Pipeline #229 passed with stage
in 0 seconds
......@@ -200,11 +200,7 @@ class Downloads:
replaces["mirror:%s" % name] = choices[0]
# Get the right source
override_key = "source-override-%s-%s" % (release, arch)
if override_key in self.config["distros"][distro]:
source_name = self.config["distros"][distro][override_key]
else:
source_name = self.config["distros"][distro]["archs"][arch]
source_name = self.config["distros"][distro]["archs"][arch]
source = self.config["sources"][source_name]
# Download URLs are different for torrent and HTTP
......
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