summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index bcd4b6dfb..a6bf4f021 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -11755,7 +11755,7 @@ def action_depclean(settings, trees, ldpath_mtimes,
# If there are no dependencies between packages
# let unmerge() group them by cat/pn.
ordered = False
- cleanlist = [pkg.cpv for pkg in cleanlist]
+ cleanlist = [pkg.cpv for pkg in graph.order]
else:
# Order nodes from lowest to highest overall reference count for
# optimal root node selection.