From: Zac Medico Date: Thu, 20 Jul 2006 07:32:46 +0000 (-0000) Subject: Remove redundant initialization of PORTAGE_BIN_PATH and PORTAGE_PYM_PATH for cloned... X-Git-Tag: v2.1.1~176 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=785d999e6ce7f357409c342ab5ab418da1e58140;p=portage.git Remove redundant initialization of PORTAGE_BIN_PATH and PORTAGE_PYM_PATH for cloned config instances. svn path=/main/trunk/; revision=3965 --- 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):