class depgraph:
- def __init__(self, settings, portdb, trees, myaction, myopts, myparams,
+ def __init__(self, settings, portdb, trees, myopts, myparams,
edebug, spinner):
self.settings = settings
self.portdb = portdb
self.applied_useflags = {}
self.missingbins=[]
- self.myaction=myaction
self.digraph=portage.digraph()
self.orderedkeys=[]
self.outdatedpackages=[]
myparams = create_depgraph_params(myopts, myaction)
mydepgraph = depgraph(portage.settings, portage.portdb, portage.db,
- myaction, myopts, myparams, edebug, spinner)
+ myopts, myparams, edebug, spinner)
if not ("--quiet" in myopts):
print "\nCalculating dependencies ",
myopts=myresumeopts
myparams = create_depgraph_params(myopts, myaction)
mydepgraph = depgraph(portage.settings, portage.portdb, portage.db,
- "resume", myopts, myparams, edebug, spinner)
+ myopts, myparams, edebug, spinner)
if "--resume" not in myopts:
myopts+=["--resume"]
else:
myparams = create_depgraph_params(myopts, myaction)
mydepgraph = depgraph(portage.settings, portage.portdb, portage.db,
- myaction, myopts, myparams, edebug, spinner)
+ myopts, myparams, edebug, spinner)
if myaction in ["system","world"]:
if not ("--quiet" in myopts):
print "Calculating",myaction,"dependencies ",