From 4a50e9a2babf0a64cef1eed78d0f0a40cf977172 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 14 Apr 2008 01:12:03 +0000 Subject: [PATCH] Call depgraph._add_dep() to add package dependencies to the graph as soon as possible rather than pushing them onto the stack. svn path=/main/trunk/; revision=9885 --- pym/_emerge/__init__.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 633a7764a..54d263010 100644 --- 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: -- 2.26.2