From: Zac Medico Date: Sat, 16 Feb 2008 07:59:44 +0000 (-0000) Subject: Fix depclean breakage so that it doesn't clean some packages that X-Git-Tag: v2.2_pre3~41 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c87b4df5770b2cc1d887aba2231168de4d790299;p=portage.git Fix depclean breakage so that it doesn't clean some packages that shouldn't be cleaned. svn path=/main/trunk/; revision=9341 --- 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)