From: Zac Medico Date: Wed, 11 Mar 2009 03:22:52 +0000 (-0000) Subject: Inside depgraph.loadResumeCommand(), when appropriate, complete the graph X-Git-Tag: v2.1.6.8~244 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7571c15586b03fc5761a28bdce0b5f90e0e4c3d6;p=portage.git 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 --- 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":