From 7571c15586b03fc5761a28bdce0b5f90e0e4c3d6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 11 Mar 2009 03:22:52 +0000 Subject: [PATCH] Inside depgraph.loadResumeCommand(), when appropriate, complete the graph before analyzing any unsatisfied deps that may exist. (trunk r12547) svn path=/main/branches/2.1.6/; revision=12833 --- pym/_emerge/__init__.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index ab035b461..2b764fad6 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -8500,8 +8500,14 @@ class depgraph(object): if not self._create_graph(allow_unsatisfied=True): return False + # When appropriate, complete the graph before analyzing + # any unsatisfied deps that may exist. + if not self._complete_graph(): + return False + unsatisfied_deps = [] - for dep in self._unsatisfied_deps: + for dep in self._unsatisfied_deps + \ + self._initially_unsatisfied_deps: if not isinstance(dep.parent, Package): continue if dep.parent.operation == "merge": -- 2.26.2