summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-06-23 06:14:29 +0000
committerZac Medico <zmedico@gentoo.org>2006-06-23 06:14:29 +0000
commit34c84ecedb1c26e852e8d1280aa996ee6a9b017a (patch)
tree26dc2647f119404517abd7ddf85577b6ba91d70d
parent0335ee966ad370112f7049a261a8a224c5778b39 (diff)
downloadportage-34c84ecedb1c26e852e8d1280aa996ee6a9b017a.tar.gz
portage-34c84ecedb1c26e852e8d1280aa996ee6a9b017a.tar.bz2
portage-34c84ecedb1c26e852e8d1280aa996ee6a9b017a.zip
Remove unnecessary "myaction" parameter from the depgraph constructor.
svn path=/main/trunk/; revision=3618
-rwxr-xr-xbin/emerge9
1 files changed, 4 insertions, 5 deletions
diff --git a/bin/emerge b/bin/emerge
index 76d3a5557..1ab1874a3 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -897,7 +897,7 @@ def genericdict(mylist):
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
@@ -916,7 +916,6 @@ class depgraph:
self.applied_useflags = {}
self.missingbins=[]
- self.myaction=myaction
self.digraph=portage.digraph()
self.orderedkeys=[]
self.outdatedpackages=[]
@@ -3383,7 +3382,7 @@ def action_depclean(myopts):
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 ",
@@ -3498,7 +3497,7 @@ def action_build(myopts, myaction, myfiles):
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:
@@ -3509,7 +3508,7 @@ def action_build(myopts, myaction, myfiles):
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 ",