From 36eaf1b6b31b1f8547253cca9f1852a19d0bd9e0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 2 Mar 2010 21:10:20 +0000 Subject: [PATCH] Bug #307235 - Inside depgraph._add_dep, discard child choices for deps that will be not be processed immediately, since "complete" mode may select a different child later. (trunk r15503) svn path=/main/branches/2.1.7/; revision=15701 --- pym/_emerge/depgraph.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 4ff14185f..2c2941186 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -827,6 +827,10 @@ class depgraph(object): # should have been masked. raise if not myarg: + # Existing child selection may not be valid unless + # it's added to the graph immediately, since "complete" + # mode may select a different child later. + dep.child = None self._dynamic_config._ignored_deps.append(dep) return 1 -- 2.26.2