projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f5a38c
)
Call depgraph._add_dep() to add package dependencies to the graph
author
Zac Medico
<zmedico@gentoo.org>
Mon, 14 Apr 2008 01:12:03 +0000
(
01:12
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 14 Apr 2008 01:12:03 +0000
(
01:12
-0000)
as soon as possible rather than pushing them onto the stack.
svn path=/main/trunk/; revision=9885
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index 633a7764a9e43ee92a8ac6f1d98cc9103c9ad986..54d26301096b572f780f1fbb918d81ee375b0576 100644
(file)
--- a/
pym/_emerge/__init__.py
+++ b/
pym/_emerge/__init__.py
@@
-2071,10
+2071,9
@@
class depgraph(object):
mypriority = dep_priority.copy()
if not blocker and vardb.match(atom):
mypriority.satisfied = True
- self._dep_stack.append(
- Dependency(atom=atom,
- blocker=blocker, depth=depth, parent=pkg,
- priority=mypriority, root=dep_root))
+ self._add_dep(Dependency(atom=atom,
+ blocker=blocker, depth=depth, parent=pkg,
+ priority=mypriority, root=dep_root))
if debug:
print "Exiting...", jbigkey
except ValueError, e: