diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-08-31 12:16:02 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-31 12:16:02 -0700 |
commit | a72fbd46653b979c515fe83a9c22af86870af23e (patch) | |
tree | 335218da57263094a1bc4fa59117c668a2ba4c03 | |
parent | df2c7a541780e387f9ac38cf6e6b6cf27f0c13fe (diff) | |
download | portage-a72fbd46653b979c515fe83a9c22af86870af23e.tar.gz portage-a72fbd46653b979c515fe83a9c22af86870af23e.tar.bz2 portage-a72fbd46653b979c515fe83a9c22af86870af23e.zip |
Simplify the vartree constructor usage in config.getvirtuals().
-rw-r--r-- | pym/portage/package/ebuild/config.py | 3 |
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 = {} |