summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/package/ebuild/config.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py
index 01950f9af..cf2586f6c 100644
--- a/pym/portage/package/ebuild/config.py
+++ b/pym/portage/package/ebuild/config.py
@@ -1967,8 +1967,7 @@ class config(object):
#and vartree needs a config instance.
#This code should be part of VirtualsManager.getvirtuals().
if self.local_config:
- temp_vartree = vartree(self["ROOT"], None,
- categories=self.categories, settings=self)
+ temp_vartree = vartree(settings=self)
self._virtuals_manager._populate_treeVirtuals(temp_vartree)
else:
self._virtuals_manager._treeVirtuals = {}