Reuse an existing EmergeConfig instance instead of
authorZac Medico <zmedico@gentoo.org>
Sat, 27 Oct 2007 01:59:32 +0000 (01:59 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 27 Oct 2007 01:59:32 +0000 (01:59 -0000)
constructing a new one.

svn path=/main/trunk/; revision=8318

pym/_emerge/__init__.py

index 5b793eca39a3133cafd6c694889dcbc71259bcbe..9c49274748b3bf5ab4eaa015f2a47d899f2efa62 100644 (file)
@@ -575,7 +575,7 @@ class RootConfig(object):
        particular $ROOT."""
        def __init__(self, trees):
                self.trees = trees
-               self.settings = EmergeConfig(trees["vartree"].settings, trees=trees)
+               self.settings = trees["vartree"].settings
                self.root = self.settings["ROOT"]
 
 def create_world_atom(pkg_key, metadata, args_set, root_config):