mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-05 11:02:14 +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 require in blacklist
|
||||||
if "%README%" not in req and req not in self.blacklist:
|
if "%README%" not in req and req not in self.blacklist:
|
||||||
dependencies.append(req)
|
dependencies.append(req)
|
||||||
if dependencies:
|
self.deep_check(dependencies)
|
||||||
self.dep_results.append(dependencies)
|
|
||||||
for dep in dependencies:
|
|
||||||
self.sbo(dep)
|
|
||||||
return self.dep_results
|
return self.dep_results
|
||||||
else:
|
else:
|
||||||
return []
|
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