From: Zac Medico Date: Thu, 20 Jul 2006 05:59:34 +0000 (-0000) Subject: When cloning a config instance, use the copied env instead of grabbing a new copy... X-Git-Tag: v2.1.1~180 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9bb10ff784063ed2ce3a91f962027d05b638787b;p=portage.git When cloning a config instance, use the copied env instead of grabbing a new copy of os.environ. svn path=/main/trunk/; revision=3961 --- diff --git a/pym/portage.py b/pym/portage.py index 584d07a46..8c71b6b64 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -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],