Prune really uses all installed instead of world. It's not a real reverse dependency...
authorZac Medico <zmedico@gentoo.org>
Sat, 21 Jul 2007 09:31:21 +0000 (09:31 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 21 Jul 2007 09:31:21 +0000 (09:31 -0000)
svn path=/main/trunk/; revision=7334

pym/emerge/__init__.py

index 16face65cbcab5f63ca5969b02dbe13b2db41fde..64706cd998341ce266eb39d1f257dd92333d49e1 100644 (file)
@@ -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):