Split to deep check

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2020-01-29 21:31:26 +01:00
parent 4809e3cbc2
commit 8873479f2a

View file

@ -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)