From 785d999e6ce7f357409c342ab5ab418da1e58140 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 20 Jul 2006 07:32:46 +0000 Subject: [PATCH] Remove redundant initialization of PORTAGE_BIN_PATH and PORTAGE_PYM_PATH for cloned config instances. svn path=/main/trunk/; revision=3965 --- pym/portage.py | 8 +++++--- 1 file 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): -- 2.26.2