From 8fa25f6938c032cc94ae2981673bb63f50551f53 Mon Sep 17 00:00:00 2001
From: Zac Medico <zmedico@gentoo.org>
Date: Fri, 3 Jul 2009 01:32:12 +0000
Subject: [PATCH] Use the new frozen_config depgraph constructor parameter to
 optimize resume_depgraph().

svn path=/main/trunk/; revision=13761
---
 pym/_emerge/depgraph.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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)
-- 
2.26.2