summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/actions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index 2d664ca80..f28f0dcaa 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -1142,7 +1142,8 @@ def calc_depclean(settings, trees, ldpath_mtimes,
cleanlist = [pkg.cpv for pkg in graph.order]
else:
# Order nodes from lowest to highest overall reference count for
- # optimal root node selection.
+ # optimal root node selection (this can help minimize issues
+ # with unaccounted implicit dependencies).
node_refcounts = {}
for node in graph.order:
node_refcounts[node] = len(graph.parent_nodes(node))