mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-28 09:58:21 +01:00
Fix 'Done' message
This commit is contained in:
parent
80ac2418fd
commit
47f3447313
1 changed files with 3 additions and 4 deletions
|
@ -63,6 +63,7 @@ class TrackingDeps(object):
|
|||
def run(self):
|
||||
"""Run tracking dependencies
|
||||
"""
|
||||
Msg().resolving()
|
||||
self.repositories()
|
||||
if self.find_pkg:
|
||||
self.requires = Utils().dimensional_list(self.dependencies_list)
|
||||
|
@ -70,11 +71,11 @@ class TrackingDeps(object):
|
|||
self.dependencies = Utils().remove_dbs(self.requires)
|
||||
if self.dependencies == []:
|
||||
self.dependencies = ["No dependencies"]
|
||||
|
||||
if self.flag.startswith("--graph="):
|
||||
self.deps_tree()
|
||||
Msg().done()
|
||||
self.graph()
|
||||
|
||||
Msg().done()
|
||||
pkg_len = len(self.name) + 24
|
||||
print("") # new line at start
|
||||
Msg().template(pkg_len)
|
||||
|
@ -120,7 +121,6 @@ class TrackingDeps(object):
|
|||
def repositories(self):
|
||||
"""Get dependencies by repositories
|
||||
"""
|
||||
Msg().resolving()
|
||||
if self.repo == "sbo":
|
||||
self.dependencies_list = Requires(self.flag).sbo(self.name)
|
||||
self.find_pkg = sbo_search_pkg(self.name)
|
||||
|
@ -132,7 +132,6 @@ class TrackingDeps(object):
|
|||
self.dependencies_list = Dependencies(
|
||||
self.names, self.repo, self.black).binary(self.name, self.flag)
|
||||
self.find_pkg = search_pkg(self.name, self.repo)
|
||||
Msg().done()
|
||||
|
||||
def graph(self):
|
||||
"""Drawing image dependencies map
|
||||
|
|
Loading…
Reference in a new issue