Fix tracking installation order

This commit is contained in:
Dimitris Zlatanidis 2015-07-30 05:55:48 +03:00
parent 2d140ba079
commit 1523a2623e
2 changed files with 2 additions and 1 deletions

View file

@ -136,6 +136,7 @@ class SBoInstall(object):
def update_deps(self):
"""Update dependencies dictionary with all package
"""
onelist, dependencies = [], []
onelist = Utils().dimensional_list(self.deps)
dependencies = Utils().remove_dbs(onelist)
for dep in dependencies:

View file

@ -65,8 +65,8 @@ class TrackingDeps(object):
Msg().resolving()
self.repositories()
if self.find_pkg:
self.dependencies_list.reverse()
self.requires = Utils().dimensional_list(self.dependencies_list)
self.requires.reverse()
self.dependencies = Utils().remove_dbs(self.requires)
if self.dependencies == []:
self.dependencies = ["No dependencies"]