summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-07-21 09:31:21 +0000
committerZac Medico <zmedico@gentoo.org>2007-07-21 09:31:21 +0000
commit77bda28a6cbc699c44ff86ff1ee774102aeb78a1 (patch)
tree363712dab983735522c2ae00b665a7af0bd5f215
parent536ac410b1dd029e3a5c819970352fa732223703 (diff)
downloadportage-77bda28a6cbc699c44ff86ff1ee774102aeb78a1.tar.gz
portage-77bda28a6cbc699c44ff86ff1ee774102aeb78a1.tar.bz2
portage-77bda28a6cbc699c44ff86ff1ee774102aeb78a1.zip
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
-rw-r--r--pym/emerge/__init__.py3
1 files changed, 3 insertions, 0 deletions
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):