Author: zmedico
Date: 2008-04-14 01:12:03 +0000 (Mon, 14 Apr 2008)
New Revision: 9885
Modified:
main/trunk/pym/_emerge/__init__.py
Log:
Call depgraph._add_dep() to add package dependencies to the graph
as soon as possible rather than pushing them onto the stack.
Modified: main/trunk/pym/_emerge/__init__.py
===================================================================
--- main/trunk/pym/_emerge/__init__.py 2008-04-14 00:59:14 UTC (rev 9884)
+++ main/trunk/pym/_emerge/__init__.py 2008-04-14 01:12:03 UTC (rev 9885)
@@ -2071,10 +2071,9 @@
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:
--
gentoo-commits@g.o mailing list
|