Commit cbc2b98d authored by Mattia Rizzolo's avatar Mattia Rizzolo

look for SHA256SUMS instead of MD5SUMS, which is not published anymore

the code still calls everything "md5" but it's not md5 anymore, that
should be updated everywhere.
Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mapreri@ubuntu.com>
parent 999a254a
Pipeline #286 failed with stage
in 0 seconds
...@@ -118,7 +118,7 @@ class Downloads: ...@@ -118,7 +118,7 @@ class Downloads:
if path not in files_content: if path not in files_content:
md5s = {} md5s = {}
response = requests.get("%s/MD5SUMS" % path) response = requests.get("%s/SHA256SUMS" % path)
if response.status_code == 404: if response.status_code == 404:
raise RuntimeError( raise RuntimeError(
"Missing {} {} on {}".format(distro, release, url), "Missing {} {} on {}".format(distro, release, url),
......
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