Remove unnecessary config.reset() calls in portage.create_trees().
authorZac Medico <zmedico@gentoo.org>
Mon, 9 Oct 2006 20:09:42 +0000 (20:09 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 9 Oct 2006 20:09:42 +0000 (20:09 -0000)
svn path=/main/trunk/; revision=4637

pym/portage.py

index 6dd7ac3e1ed8db7ce9157cc30ae4ccb6c6e7fe1a..579c3f5a06c37921a88382bb07e64742a376a095 100644 (file)
@@ -6944,8 +6944,6 @@ def create_trees(config_root="/", target_root="/", trees=None):
 
        settings = config(config_root=config_root, target_root=target_root,
                config_incrementals=portage_const.INCREMENTALS)
-
-       settings.reset()
        settings.lock()
        settings.validate()
 
@@ -6953,7 +6951,6 @@ def create_trees(config_root="/", target_root="/", trees=None):
        if settings["ROOT"] != "/":
                settings = config(config_root="/", target_root="/",
                        config_incrementals=portage_const.INCREMENTALS)
-               settings.reset()
                settings.lock()
                settings.validate()
                myroots.append(("/", settings))