Inside depgraph.loadResumeCommand(), when appropriate, complete the graph
authorZac Medico <zmedico@gentoo.org>
Thu, 22 Jan 2009 05:55:24 +0000 (05:55 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 22 Jan 2009 05:55:24 +0000 (05:55 -0000)
before analyzing any unsatisfied deps that may exist.

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

pym/_emerge/__init__.py

index 1e875bbaab5f5d7d53a08cb93c6ef1d9296a9ebb..12da319ab01ff5e4f3caff80c20341b590131104 100644 (file)
@@ -8516,8 +8516,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":