summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-12-24 04:40:22 +0000
committerZac Medico <zmedico@gentoo.org>2009-12-24 04:40:22 +0000
commite38927342cc23d18d7f650debf406dc16153a706 (patch)
treecf0dfa9bd9f3a8183a927e368597a8f0b48a1f0b /pym
parenteb1de6c26edabe4e4d5babe031e09d86d087e0dc (diff)
downloadportage-e38927342cc23d18d7f650debf406dc16153a706.tar.gz
portage-e38927342cc23d18d7f650debf406dc16153a706.tar.bz2
portage-e38927342cc23d18d7f650debf406dc16153a706.zip
Remove obsolete backing up of ROOTPATH via PORTAGE_ROOTPATH. (trunk r15143)
svn path=/main/branches/2.1.7/; revision=15144
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/__init__.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 67f68ff8f..0c03dcb6c 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -3782,12 +3782,6 @@ class config(object):
mydict.pop("EPREFIX", None)
mydict.pop("EROOT", None)
- # sandbox's bashrc sources /etc/profile which unsets ROOTPATH,
- # so we have to back it up and restore it.
- rootpath = mydict.get("ROOTPATH")
- if rootpath:
- mydict["PORTAGE_ROOTPATH"] = rootpath
-
return mydict
def thirdpartymirrors(self):