From: Zac Medico Date: Fri, 3 Jul 2009 01:32:12 +0000 (-0000) Subject: Use the new frozen_config depgraph constructor parameter to optimize X-Git-Tag: v2.2_rc34~101 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8fa25f6938c032cc94ae2981673bb63f50551f53;p=portage.git Use the new frozen_config depgraph constructor parameter to optimize resume_depgraph(). svn path=/main/trunk/; revision=13761 --- 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)