From: Zac Medico Date: Mon, 14 Apr 2008 01:12:03 +0000 (-0000) Subject: Call depgraph._add_dep() to add package dependencies to the graph X-Git-Tag: v2.2_pre6~162 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4a50e9a2babf0a64cef1eed78d0f0a40cf977172;p=portage.git 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 --- 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: