mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-28 19:58:18 +01:00
fix code
This commit is contained in:
parent
afd81b666b
commit
5fbbc9eb65
1 changed files with 5 additions and 6 deletions
|
@ -48,14 +48,13 @@ def sbo_dependencies_pkg(name):
|
|||
bol, eol = "\n", "\n"
|
||||
pkg_not_found(bol, name, message, eol)
|
||||
else:
|
||||
sbo_req = sbo_requires_pkg(sbo_url, name)
|
||||
dependencies = sbo_req.split()
|
||||
dependencies = sbo_requires_pkg(sbo_url, name)
|
||||
if dependencies:
|
||||
dep_results.append(dependencies)
|
||||
for line in dependencies:
|
||||
sys.stdout.write(".")
|
||||
sys.stdout.flush()
|
||||
sbo_dependencies_pkg(line)
|
||||
for dep in dependencies:
|
||||
sys.stdout.write(".")
|
||||
sys.stdout.flush()
|
||||
sbo_dependencies_pkg(dep)
|
||||
return dep_results
|
||||
except KeyboardInterrupt:
|
||||
print # new line at exit
|
||||
|
|
Loading…
Add table
Reference in a new issue