Updated for dict

This commit is contained in:
Dimitris Zlatanidis 2023-04-28 10:03:37 +03:00
parent 17b6b7bc2d
commit ffb5b44d8e

View file

@ -163,7 +163,6 @@ class Slackbuilds(Configs):
def prepare_slackbuilds_for_build(self) -> None:
""" Downloads files and sources. """
sources_urls: list = []
sources: dict = {}
for sbo in self.install_order:
@ -188,10 +187,8 @@ class Slackbuilds(Configs):
if self.os_arch == 'x86_64' and self.data[sbo][4]:
sources[sbo] = self.data[sbo][4].split()
sources_urls += self.data[sbo][4].split()
else:
sources[sbo] = self.data[sbo][3].split()
sources_urls += self.data[sbo][3].split()
# Download the sources.
if sources: