Remove split() method

This commit is contained in:
Dimitris Zlatanidis 2024-03-14 18:52:34 +02:00
parent fbb194e1f8
commit c4ca6d371c

View file

@ -13,9 +13,9 @@ class Requires:
def resolve(self) -> tuple:
""" Resolve the dependencies. """
requires: list[str] = self.data[self.name]['requires'].split()
requires: list[str] = self.data[self.name]['requires']
for require in requires:
sub_requires: list[str] = self.data[require]['requires'].split()
sub_requires: list[str] = self.data[require]['requires']
for sub in sub_requires:
requires.append(sub)