summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-07-20 05:59:34 +0000
committerZac Medico <zmedico@gentoo.org>2006-07-20 05:59:34 +0000
commit9bb10ff784063ed2ce3a91f962027d05b638787b (patch)
tree6df20bec6a6d30e3b142ba4d9f6feb19b005dc00
parentc9d9a24e42de0bd8eebf07ad0267d1683e8cd45d (diff)
downloadportage-9bb10ff784063ed2ce3a91f962027d05b638787b.tar.gz
portage-9bb10ff784063ed2ce3a91f962027d05b638787b.tar.bz2
portage-9bb10ff784063ed2ce3a91f962027d05b638787b.zip
When cloning a config instance, use the copied env instead of grabbing a new copy of os.environ.
svn path=/main/trunk/; revision=3961
-rw-r--r--pym/portage.py1
1 files changed, 0 insertions, 1 deletions
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],