projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
861b535
)
Fix the priorities display in digraph.debug_print() so it shows the highest
author
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Mar 2009 03:40:20 +0000
(
03:40
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Mar 2009 03:40:20 +0000
(
03:40
-0000)
priority (since multiple priorities are now supported). (trunk r12582)
svn path=/main/branches/2.1.6/; revision=12863
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 27275ecafe1537465402790aea4e03d004584173..a3884cc56a31c0936b6625661bcb7151d8cdcb56 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-600,9
+600,8
@@
class digraph(object):
output("depends on\n")
else:
output("(no children)\n")
- for child in self.nodes[node][0]:
- output(" %s (%s)\n" % \
- (child, self.nodes[node][0][child],))
+ for child, priorities in self.nodes[node][0].iteritems():
+ output(" %s (%s)\n" % (child, priorities[-1],))
#parse /etc/env.d and generate /etc/profile.env