This commit is contained in:
Dimitris Zlatanidis 2015-07-25 22:55:46 +03:00
parent 47f3447313
commit ccaeea46d3
3 changed files with 4 additions and 5 deletions

View file

@ -126,7 +126,7 @@ class BinaryInstall(object):
self.tmp_path, self.install)
ins, upg = self.install_packages()
Msg().reference(ins, upg)
self.deps_tree()
self.update_deps()
write_deps(self.deps_dict)
delete(self.tmp_path, self.install)
else:
@ -135,7 +135,7 @@ class BinaryInstall(object):
print("") # new line at exit
sys.exit(0)
def deps_tree(self):
def update_deps(self):
"""Update dependencies dictionary with all package
"""
for dep in self.dependencies:

View file

@ -132,7 +132,7 @@ class SBoInstall(object):
print("") # new line at exit
sys.exit(0)
def deps_tree(self):
def update_deps(self):
"""Update dependencies dictionary with all package
"""
for dep in self.one_for_all(self.deps):
@ -145,7 +145,7 @@ class SBoInstall(object):
if self.master_packages and Msg().answer() in ["y", "Y"]:
installs, upgraded = self.build_install()
Msg().reference(installs, upgraded)
self.deps_tree()
self.update_deps()
write_deps(self.deps_dict)
delete(self.build_folder)

View file

@ -44,7 +44,6 @@ class TrackingDeps(object):
if allready installed and color red
if not installed.
"""
def __init__(self, name, repo, flag):
self.name = name
self.repo = repo