projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7efefdd
)
Fix broken virtual depth code from previous commit.
author
Zac Medico
<zmedico@gentoo.org>
Mon, 14 Sep 2009 13:44:53 +0000
(13:44 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 14 Sep 2009 13:44:53 +0000
(13:44 -0000)
svn path=/main/trunk/; revision=14273
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index a5092187707e6baa5223572f7b2dcda9e0762186..b44e5b19f456e2218d614b45b80382a36f09611a 100644
(file)
--- a/
pym/_emerge/depgraph.py
+++ b/
pym/_emerge/depgraph.py
@@
-1182,10
+1182,9
@@
class depgraph(object):
# accurate since multilple levels of indirect virtual deps may
# have been traversed. The _add_pkg call will reset the depth to
# 0 if this package happens to match an argument.
- virt_pkg.depth = depth + 1
if not self._add_pkg(virt_pkg,
Dependency(atom=Atom('=' + virt_pkg.cpv),
- depth=
depth
, parent=pkg, priority=dep_priority.copy(),
+ depth=
(depth + 1)
, parent=pkg, priority=dep_priority.copy(),
root=dep_root)):
return 0