From: Zac Medico Date: Mon, 9 Oct 2006 20:09:42 +0000 (-0000) Subject: Remove unnecessary config.reset() calls in portage.create_trees(). X-Git-Tag: v2.1.2~670 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c25c996270e9e3d1180492009c046114da7ed1d6;p=portage.git Remove unnecessary config.reset() calls in portage.create_trees(). svn path=/main/trunk/; revision=4637 --- 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))