From: Zac Medico Date: Sat, 21 Jul 2007 09:31:21 +0000 (-0000) Subject: Prune really uses all installed instead of world. It's not a real reverse dependency... X-Git-Tag: v2.2_pre1~978 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=77bda28a6cbc699c44ff86ff1ee774102aeb78a1;p=portage.git Prune really uses all installed instead of world. It's not a real reverse dependency so don't display it as such. svn path=/main/trunk/; revision=7334 --- diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 16face65c..64706cd99 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -5527,6 +5527,9 @@ def action_depclean(settings, trees, ldpath_mtimes, elif "--verbose" in myopts: show_parents(pkg) elif action == "prune": + # Prune really uses all installed instead of world. It's not a real + # reverse dependency so don't display it as such. + graph.remove("world") for atom in args_set: for pkg in vardb.match(atom): if not fakedb.cpv_exists(pkg):