warnings.warn("The second parameter of the " + \
"portage.dbapi.vartree.dblink._match_contents()" + \
" is now unused. Instead " + \
- "self.settings['EROOT'] will be used.",
+ "self.settings['ROOT'] will be used.",
DeprecationWarning, stacklevel=2)
# don't use EROOT here, image already contains EPREFIX
linkmap = self.vartree.dbapi._linkmap
installed_instance = self._installed_instance
old_contents = installed_instance.getcontents()
- root = self._eroot
+ root = self.settings['ROOT']
root_len = len(root) - 1
lib_graph = digraph()
path_node_map = {}
os = _os_merge
showMessage = self._display_merge
- root = self._eroot
+ root = self.settings['ROOT']
# Copy contents entries from the old package to the new one.
new_contents = self.getcontents().copy()