diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-02-16 07:59:44 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-02-16 07:59:44 +0000 |
commit | c87b4df5770b2cc1d887aba2231168de4d790299 (patch) | |
tree | 3bb719528d3dc870c901615c87340fe3d28d49fb | |
parent | 6d57699e5f9a4656f5c5e841f0abd14261a7375e (diff) | |
download | portage-c87b4df5770b2cc1d887aba2231168de4d790299.tar.gz portage-c87b4df5770b2cc1d887aba2231168de4d790299.tar.bz2 portage-c87b4df5770b2cc1d887aba2231168de4d790299.zip |
Fix depclean breakage so that it doesn't clean some packages that
shouldn't be cleaned.
svn path=/main/trunk/; revision=9341
-rw-r--r-- | pym/_emerge/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |