projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed6b9d6
)
Fix the reverse dependency display for --prune when there is now real parent.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 22 Jul 2007 07:49:14 +0000
(07:49 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 22 Jul 2007 07:49:14 +0000
(07:49 -0000)
svn path=/main/trunk/; revision=7351
pym/emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/emerge/__init__.py
b/pym/emerge/__init__.py
index d40957f9c88ff38a4101f1c31b44f896bd7b80cd..054d90661350cf74397200f935fbdcf63b60f223 100644
(file)
--- a/
pym/emerge/__init__.py
+++ b/
pym/emerge/__init__.py
@@
-5509,6
+5509,11
@@
def action_depclean(settings, trees, ldpath_mtimes,
def show_parents(child_node):
parent_nodes = graph.parent_nodes(child_node)
+ if not parent_nodes:
+ # With --prune, the highest version can be pulled in without any
+ # real parent since all installed packages are pulled in. In that
+ # case there's nothing to show here.
+ return
parent_nodes.sort()
msg = []
msg.append(" %s pulled in by:\n" % str(child_node))