Revert r14901 since it doesn't solve the problem (bug #294945). (trunk r14913)
authorZac Medico <zmedico@gentoo.org>
Sat, 28 Nov 2009 22:18:04 +0000 (22:18 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 28 Nov 2009 22:18:04 +0000 (22:18 -0000)
svn path=/main/branches/2.1.7/; revision=14916

pym/_emerge/depgraph.py

index f8775c6d561e21fc634882aec6520051f3967298..684775296a0996f5bda23b81dde4c123898cf9a5 100644 (file)
@@ -4691,11 +4691,7 @@ class depgraph(object):
                                        # an argument or a direct member of a set that has
                                        # been specified as an argument (system or world).
                                        if current_node not in self._dynamic_config._set_nodes:
-                                               try:
-                                                       parent_nodes = mygraph.parent_nodes(current_node)
-                                               except KeyError:
-                                                       # This can happen sometimes for blockers.
-                                                       pass
+                                               parent_nodes = mygraph.parent_nodes(current_node)
                                        if parent_nodes:
                                                child_nodes = set(mygraph.child_nodes(current_node))
                                                selected_parent = None