summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/depgraph.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index cbf6737c7..dff0d9a79 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -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