summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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