From a72fbd46653b979c515fe83a9c22af86870af23e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 31 Aug 2010 12:16:02 -0700 Subject: [PATCH] Simplify the vartree constructor usage in config.getvirtuals(). --- pym/portage/package/ebuild/config.py | 3 +-- 1 file changed, 1 insertion(+), 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 = {} -- 2.26.2