From c25c996270e9e3d1180492009c046114da7ed1d6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 9 Oct 2006 20:09:42 +0000 Subject: [PATCH] Remove unnecessary config.reset() calls in portage.create_trees(). svn path=/main/trunk/; revision=4637 --- pym/portage.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pym/portage.py b/pym/portage.py index 6dd7ac3e1..579c3f5a0 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -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)) -- 2.26.2