summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-04-10 11:45:41 -0700
committerZac Medico <zmedico@gentoo.org>2010-04-10 11:45:41 -0700
commitdef1566b00be9350e945f8162d6be758b15dc4dc (patch)
tree4302968908adace1b1bf9011e3550780b8854fbd
parentb859a2d8beb7c4ad8730c19fca31993f66988d1f (diff)
downloadportage-def1566b00be9350e945f8162d6be758b15dc4dc.tar.gz
portage-def1566b00be9350e945f8162d6be758b15dc4dc.tar.bz2
portage-def1566b00be9350e945f8162d6be758b15dc4dc.zip
Fix deprecated config.getvirtuals() usage that's triggered by
gentoolkit-0.2.x.
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index cacffc1f0..764c97466 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -543,7 +543,7 @@ def create_trees(config_root=None, target_root=None, trees=None):
for myroot, mysettings in myroots:
trees[myroot] = portage.util.LazyItemsDict(trees.get(myroot, {}))
- trees[myroot].addLazySingleton("virtuals", mysettings.getvirtuals, myroot)
+ trees[myroot].addLazySingleton("virtuals", mysettings.getvirtuals)
trees[myroot].addLazySingleton(
"vartree", vartree, myroot, categories=mysettings.categories,
settings=mysettings)