projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66502ef
)
Fix logic to re-use blockers from the graph when populating the blocker cache.
author
Zac Medico
<zmedico@gentoo.org>
Wed, 30 Apr 2008 08:40:58 +0000
(08:40 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 30 Apr 2008 08:40:58 +0000
(08:40 -0000)
svn path=/main/trunk/; revision=10042
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index 454cce343e93d143bf03bdc31d36c1f020fff148..d2ac8890146c28a85f7802920491c982dfcb3054 100644
(file)
--- 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 = \