From c4ca6d371c54251f988a4984e08c9db84b88c24e Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 14 Mar 2024 18:52:34 +0200 Subject: [PATCH] Remove split() method --- slpkg/sbos/dependencies.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slpkg/sbos/dependencies.py b/slpkg/sbos/dependencies.py index cdd746cc..27ce42fa 100644 --- a/slpkg/sbos/dependencies.py +++ b/slpkg/sbos/dependencies.py @@ -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)