summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-07-03 01:32:12 +0000
committerZac Medico <zmedico@gentoo.org>2009-07-03 01:32:12 +0000
commit8fa25f6938c032cc94ae2981673bb63f50551f53 (patch)
treed1782c307e12ddc7648a7665ec431891892e6abb
parent27a668d84839eabdb5d708b0f07e0f814b225ba1 (diff)
downloadportage-8fa25f6938c032cc94ae2981673bb63f50551f53.tar.gz
portage-8fa25f6938c032cc94ae2981673bb63f50551f53.tar.bz2
portage-8fa25f6938c032cc94ae2981673bb63f50551f53.zip
Use the new frozen_config depgraph constructor parameter to optimize
resume_depgraph(). svn path=/main/trunk/; revision=13761
-rw-r--r--pym/_emerge/depgraph.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 92e7aaa54..57e6c4ba9 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -4757,9 +4757,11 @@ def resume_depgraph(settings, trees, mtimedb, myopts, myparams, spinner):
skip_unsatisfied = True
mergelist = mtimedb["resume"]["mergelist"]
dropped_tasks = set()
+ frozen_config = _frozen_depgraph_config(settings, trees,
+ myopts, spinner)
while True:
mydepgraph = depgraph(settings, trees,
- myopts, myparams, spinner)
+ myopts, myparams, spinner, frozen_config=frozen_config)
try:
success = mydepgraph._loadResumeCommand(mtimedb["resume"],
skip_masked=skip_masked)