Change order to graph

This commit is contained in:
Dimitris Zlatanidis 2015-09-16 06:22:25 +03:00
parent 8dc709f003
commit dbffb8bb3e

View file

@ -75,8 +75,6 @@ class DependenciesStatus(object):
"""Show dependencies status """Show dependencies status
""" """
self.data() self.data()
if self.image:
Graph(self.image).dependencies(self.dmap)
print("") print("")
self.msg.template(78) self.msg.template(78)
print("| {0}{1}{2}".format("Dependencies", " " * 20, "Packages")) print("| {0}{1}{2}".format("Dependencies", " " * 20, "Packages"))
@ -86,6 +84,8 @@ class DependenciesStatus(object):
self.green, key, self.endc, " " * (32-len(key)), self.green, key, self.endc, " " * (32-len(key)),
", ".join(value))) ", ".join(value)))
self.summary() self.summary()
if self.image:
Graph(self.image).dependencies(self.dmap)
def tree(self): def tree(self):
"""Like tree view mode """Like tree view mode