From: Zac Medico Date: Sat, 31 May 2008 02:06:01 +0000 (-0000) Subject: Clean up reference to parts of the first graph for --skipfirst. X-Git-Tag: v2.2_pre8~56 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3fffbe3667570d1ee9dc55e799d214e10c79d5b8;p=portage.git Clean up reference to parts of the first graph for --skipfirst. svn path=/main/trunk/; revision=10514 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 8ae31e50c..7d9cbdfa8 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -8369,13 +8369,13 @@ def action_build(settings, trees, mtimedb, while True: mydepgraph = depgraph(settings, trees, myopts, myparams, spinner) - graph = mydepgraph.digraph try: success = mydepgraph.loadResumeCommand(mtimedb["resume"]) except depgraph.UnsatisfiedResumeDep, e: if "--skipfirst" not in myopts: raise + graph = mydepgraph.digraph unsatisfied_parents = dict((dep.parent, dep.parent) \ for dep in e.value) traversed_nodes = set() @@ -8415,7 +8415,8 @@ def action_build(settings, trees, mtimedb, raise mergelist[:] = pruned_mergelist dropped_tasks.update(unsatisfied_parents) - del e, unsatisfied_parents + del e, graph, traversed_nodes, \ + unsatisfied_parents, unsatisfied_stack continue else: break