Remove redundant initialization of PORTAGE_BIN_PATH and PORTAGE_PYM_PATH for cloned...
authorZac Medico <zmedico@gentoo.org>
Thu, 20 Jul 2006 07:32:46 +0000 (07:32 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 20 Jul 2006 07:32:46 +0000 (07:32 -0000)
svn path=/main/trunk/; revision=3965

pym/portage.py

index 3838adcd8b5edf366f57f1c4de7de6118693d1df..6f57c179587f76c13f1f093e43fd6c0f837d60f4 100644 (file)
@@ -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):