From: Zac Medico Date: Thu, 1 May 2008 05:42:55 +0000 (-0000) Subject: Sort blockers when caching them. X-Git-Tag: v2.2_pre6~70 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ec48c11319f20bbcc3c8959ae106f5aa5e1130fb;p=portage.git Sort blockers when caching them. svn path=/main/trunk/; revision=10054 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index a42a71d56..bbebc5d3f 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -3234,6 +3234,7 @@ class depgraph(object): return False blocker_atoms = [myatom for myatom in atoms \ if myatom.startswith("!")] + blocker_atoms.sort() counter = long(vardb.aux_get(pkg, ["COUNTER"])[0]) blocker_cache[pkg] = \ blocker_cache.BlockerData(counter, blocker_atoms)