mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Remove split() method
This commit is contained in:
parent
c4ca6d371c
commit
9d9a9584e8
1 changed files with 3 additions and 3 deletions
|
@ -27,13 +27,13 @@ class Required:
|
|||
self.repos.slint_repo_name
|
||||
]
|
||||
|
||||
self.repo: str = data[name]['repository']
|
||||
self.repo: str = data[name]['repo']
|
||||
self.repository_packages: tuple = tuple(self.data.keys())
|
||||
|
||||
def resolve(self) -> tuple:
|
||||
""" Resolve the dependencies. """
|
||||
requires: list[str] = list(
|
||||
self.remove_deps(self.data[self.name]['requires'].split())
|
||||
self.remove_deps(self.data[self.name]['requires'])
|
||||
)
|
||||
|
||||
# Resolve dependencies for some special repos.
|
||||
|
@ -45,7 +45,7 @@ class Required:
|
|||
else:
|
||||
for require in requires:
|
||||
sub_requires: list[str] = list(
|
||||
self.remove_deps(self.data[require]['requires'].split())
|
||||
self.remove_deps(self.data[require]['requires'])
|
||||
)
|
||||
for sub in sub_requires:
|
||||
requires.append(sub)
|
||||
|
|
Loading…
Reference in a new issue