mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-31 10:26:39 +01:00
Split to deep check
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
4809e3cbc2
commit
8873479f2a
1 changed files with 9 additions and 4 deletions
|
@ -58,10 +58,15 @@ class Requires:
|
|||
# if require in blacklist
|
||||
if "%README%" not in req and req not in self.blacklist:
|
||||
dependencies.append(req)
|
||||
if dependencies:
|
||||
self.dep_results.append(dependencies)
|
||||
for dep in dependencies:
|
||||
self.sbo(dep)
|
||||
self.deep_check(dependencies)
|
||||
return self.dep_results
|
||||
else:
|
||||
return []
|
||||
|
||||
def deep_check(self, dependencies):
|
||||
"""Checking if dependencies are finnished
|
||||
"""
|
||||
if dependencies:
|
||||
self.dep_results.append(dependencies)
|
||||
for dep in dependencies:
|
||||
self.sbo(dep)
|
Loading…
Reference in a new issue