summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index 07b3a6630..e014b16d4 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -1058,7 +1058,7 @@ def calc_depclean(settings, trees, ldpath_mtimes,
return 0, [], False, required_pkgs_total
clean_set = set(cleanlist)
- if True:
+ if clean_set:
# Use a topological sort to create an unmerge order such that
# each package is unmerged before it's dependencies. This is
# necessary to avoid breaking things that may need to run