Commit ca44a454 authored by shadMod's avatar shadMod 💬

rm if path is 'ftp-stud'

parent 213386ce
Pipeline #284 passed with stage
in 0 seconds
...@@ -134,15 +134,13 @@ class Downloads: ...@@ -134,15 +134,13 @@ class Downloads:
md5s[name] = hash md5s[name] = hash
files_content[path] = md5s files_content[path] = md5s
if path == 'http://ftp-stud.fht-esslingen.de/Mirrors/releases.ubuntu.com/focal': # Add the MD5 to the result if it was found
if file in files_content[path]:
# Add the MD5 to the result if it was found key = "%s:%s:%s" % (distro, release, arch)
if file in files_content[path]: result[key] = files_content[path][file]
key = "%s:%s:%s" % (distro, release, arch) else:
result[key] = files_content[path][file] print(files_content[path])
else: raise RuntimeError("Missing MD5 for {}".format(file))
print(files_content[path])
raise RuntimeError("Missing MD5 for {}".format(file))
return result return result
......
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