summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-12-15 18:58:45 +0100
committerFabian Groffen <grobian@gentoo.org>2010-12-15 18:58:45 +0100
commit85f87007e2f031bee90d6130a6cc121a20ff98c0 (patch)
treee244913a09a7e71c431c5a893276c479fd545d1e
parent25e39c5ee5873c54a038d8b6429cd7c8eb34f0db (diff)
downloadportage-85f87007e2f031bee90d6130a6cc121a20ff98c0.tar.gz
portage-85f87007e2f031bee90d6130a6cc121a20ff98c0.tar.bz2
portage-85f87007e2f031bee90d6130a6cc121a20ff98c0.zip
removeFromContents: don't use EROOT
Fix bug #348790, make sure that CONTENTS entries keep their EPREFIX, by using ROOT, instead of EROOT.
-rw-r--r--pym/portage/dbapi/vartree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index d269e93ea..8e3f9bae4 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -772,7 +772,7 @@ class vardbapi(dbapi):
"""
if not hasattr(pkg, "getcontents"):
pkg = self._dblink(pkg)
- root = self._eroot
+ root = self.settings['ROOT']
root_len = len(root) - 1
new_contents = pkg.getcontents().copy()
removed = 0