diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-07-20 07:32:46 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-07-20 07:32:46 +0000 |
commit | 785d999e6ce7f357409c342ab5ab418da1e58140 (patch) | |
tree | 20cb78241f59981e1ca2f76151f9c8ab9e0b4b66 | |
parent | cc6c677253a6cb9f9d37040b7d0f458900a1eef1 (diff) | |
download | portage-785d999e6ce7f357409c342ab5ab418da1e58140.tar.gz portage-785d999e6ce7f357409c342ab5ab418da1e58140.tar.bz2 portage-785d999e6ce7f357409c342ab5ab418da1e58140.zip |
Remove redundant initialization of PORTAGE_BIN_PATH and PORTAGE_PYM_PATH for cloned config instances.
svn path=/main/trunk/; revision=3965
-rw-r--r-- | pym/portage.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pym/portage.py b/pym/portage.py index 3838adcd8..6f57c1795 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -1217,6 +1217,11 @@ class config: self["CBUILD"] = self["CHOST"] self.backup_changes("CBUILD") + self["PORTAGE_BIN_PATH"] = PORTAGE_BIN_PATH + self.backup_changes("PORTAGE_BIN_PATH") + self["PORTAGE_PYM_PATH"] = PORTAGE_PYM_PATH + self.backup_changes("PORTAGE_PYM_PATH") + self.lookuplist=self.configlist[:] self.lookuplist.reverse() @@ -1272,9 +1277,6 @@ class config: if mycpv: self.setcpv(mycpv) - self.backupenv["PORTAGE_BIN_PATH"] = PORTAGE_BIN_PATH - self.backupenv["PORTAGE_PYM_PATH"] = PORTAGE_PYM_PATH - self._init_dirs() def _init_dirs(self): |