When cloning a config instance, use the copied env instead of grabbing a new copy...
authorZac Medico <zmedico@gentoo.org>
Thu, 20 Jul 2006 05:59:34 +0000 (05:59 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 20 Jul 2006 05:59:34 +0000 (05:59 -0000)
svn path=/main/trunk/; revision=3961

pym/portage.py

index 584d07a46c0e96ee504a269f9891206d99446380..8c71b6b64d006ad563c593080e00af26eedc44ae 100644 (file)
@@ -873,7 +873,6 @@ class config:
                        self.usemask  = copy.deepcopy(clone.usemask)
 
                        self.configlist = copy.deepcopy(clone.configlist)
-                       self.configlist[-1] = os.environ.copy()
                        self.configdict = { "globals":   self.configlist[0],
                                            "defaults":  self.configlist[1],
                                            "conf":      self.configlist[2],