From 523c136a357972541e029fef11397fb2684ca128 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 30 Apr 2008 08:40:58 +0000 Subject: [PATCH] Fix logic to re-use blockers from the graph when populating the blocker cache. svn path=/main/trunk/; revision=10042 --- pym/_emerge/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 454cce343..d2ac88901 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -3183,6 +3183,11 @@ class depgraph(object): if not blockers.symmetric_difference( blocker_data.atoms): continue + blocker_data = None + + if blocker_data is None and \ + blockers is not None: + # Re-use the blockers from the graph. blocker_atoms = sorted(blockers) counter = long(node.metadata["COUNTER"]) blocker_data = \ -- 2.26.2