From 7e14134ce3888a0a1b11b9692ce37847a02e9d5e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 28 Jul 2010 07:39:42 -0700 Subject: [PATCH] Fix calc_depclean() to skip the topological sort code when there's nothing selected for removal. --- pym/_emerge/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2