Use the new frozen_config depgraph constructor parameter to optimize
authorZac Medico <zmedico@gentoo.org>
Fri, 3 Jul 2009 01:32:12 +0000 (01:32 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 3 Jul 2009 01:32:12 +0000 (01:32 -0000)
resume_depgraph().

svn path=/main/trunk/; revision=13761

pym/_emerge/depgraph.py

index 92e7aaa54a077e6fb833917042745a06096da1d7..57e6c4ba980207966fc1a00880bcec7e2f25afff 100644 (file)
@@ -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)