1 |
Author: zmedico |
2 |
Date: 2008-04-14 01:12:03 +0000 (Mon, 14 Apr 2008) |
3 |
New Revision: 9885 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/_emerge/__init__.py |
7 |
Log: |
8 |
Call depgraph._add_dep() to add package dependencies to the graph |
9 |
as soon as possible rather than pushing them onto the stack. |
10 |
|
11 |
|
12 |
Modified: main/trunk/pym/_emerge/__init__.py |
13 |
=================================================================== |
14 |
--- main/trunk/pym/_emerge/__init__.py 2008-04-14 00:59:14 UTC (rev 9884) |
15 |
+++ main/trunk/pym/_emerge/__init__.py 2008-04-14 01:12:03 UTC (rev 9885) |
16 |
@@ -2071,10 +2071,9 @@ |
17 |
mypriority = dep_priority.copy() |
18 |
if not blocker and vardb.match(atom): |
19 |
mypriority.satisfied = True |
20 |
- self._dep_stack.append( |
21 |
- Dependency(atom=atom, |
22 |
- blocker=blocker, depth=depth, parent=pkg, |
23 |
- priority=mypriority, root=dep_root)) |
24 |
+ self._add_dep(Dependency(atom=atom, |
25 |
+ blocker=blocker, depth=depth, parent=pkg, |
26 |
+ priority=mypriority, root=dep_root)) |
27 |
if debug: |
28 |
print "Exiting...", jbigkey |
29 |
except ValueError, e: |
30 |
|
31 |
-- |
32 |
gentoo-commits@l.g.o mailing list |