From c87b4df5770b2cc1d887aba2231168de4d790299 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 16 Feb 2008 07:59:44 +0000 Subject: [PATCH] Fix depclean breakage so that it doesn't clean some packages that shouldn't be cleaned. svn path=/main/trunk/; revision=9341 --- pym/_emerge/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 19dfc23e6..1c8547b7d 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -6645,7 +6645,8 @@ def action_depclean(settings, trees, ldpath_mtimes, del nodes[1:] for node in nodes: graph.remove(node) - cleanlist.append(node) + if node in clean_set: + cleanlist.append(node) unmerge(root_config, myopts, "unmerge", cleanlist, ldpath_mtimes) -- 2.26.2