summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-09 20:09:42 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-09 20:09:42 +0000
commitc25c996270e9e3d1180492009c046114da7ed1d6 (patch)
tree861610aace65ade6b844f395706129d0181b39b8
parent9e0a4ac927886a46749bc0f44a71953fbd2a686e (diff)
downloadportage-c25c996270e9e3d1180492009c046114da7ed1d6.tar.gz
portage-c25c996270e9e3d1180492009c046114da7ed1d6.tar.bz2
portage-c25c996270e9e3d1180492009c046114da7ed1d6.zip
Remove unnecessary config.reset() calls in portage.create_trees().
svn path=/main/trunk/; revision=4637
-rw-r--r--pym/portage.py3
1 files changed, 0 insertions, 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))