Fix a broken reference to syslist and remove two extras.
authorZac Medico <zmedico@gentoo.org>
Thu, 22 Jun 2006 15:10:34 +0000 (15:10 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 22 Jun 2006 15:10:34 +0000 (15:10 -0000)
svn path=/main/trunk/; revision=3604

bin/emerge

index 41c1df2411e215c405a0e50bc60b8a4d1f765819..534bd2f9eb4fc07abc79ca5759cb90760384ee28 100755 (executable)
@@ -1951,7 +1951,7 @@ class depgraph:
                                                sys.exit(1)
 
                #buildsyspkg: I need mysysdict also on resume (moved from the else block)
-               mysysdict=genericdict(syslist)
+               mysysdict = genericdict(getlist("system"))
                if "--resume" in self.myopts:
                        # We're resuming.
                        print green("*** Resuming merge...")
@@ -2186,7 +2186,6 @@ class depgraph:
                                        myfavkey in favorites:
                                        myfavs = portage.grabfile(os.path.join(myroot, portage.WORLD_FILE))
                                        myfavdict=genericdict(myfavs)
-                                       mysysdict=genericdict(syslist)
                                        #don't record if already in system profile or already recorded
                                        if (not mysysdict.has_key(myfavkey)) and (not myfavdict.has_key(myfavkey)):
                                                #we don't have a favorites entry for this package yet; add one
@@ -3466,7 +3465,6 @@ def action_depclean():
 
 def action_build(myopts):
        favorites=[]
-       syslist=getlist("system")
        if ("--ask" in myopts or "--pretend" in myopts) and not "--quiet" in myopts:
                action = ""
                if "--fetchonly" in myopts or "--fetch-all-uri" in myopts: