Commit 935b7bc7 authored by shadMod's avatar shadMod 💬

rm _strip_non_lts_releases() - useless

parent f4ca7251
......@@ -48,8 +48,6 @@ class Downloads:
path, _dict=collections.OrderedDict,
)
self._strip_non_lts_releases()
# Save the hash of the configuration
with open(path, "rb") as raw:
self._config_hash = "sha1=%s" % hashlib.sha1(raw.read()).hexdigest()
......@@ -97,16 +95,6 @@ class Downloads:
self._sha256sums = self._fetch_sha256sums()
return self._sha256sums
def _strip_non_lts_releases(self):
"""Process the lts-only distro configuration"""
for config in self.config["distros"].values():
if not config["lts-only"]:
continue
for release in config["releases"][:]:
if not self.config["releases"][release]["lts"]:
config["releases"].remove(release)
def _fetch_sha256sums(self):
"""Fetch all the needed SHA256SUMS"""
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