Sort blockers when caching them. (trunk r10054)
authorZac Medico <zmedico@gentoo.org>
Thu, 1 May 2008 05:43:32 +0000 (05:43 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 1 May 2008 05:43:32 +0000 (05:43 -0000)
svn path=/main/branches/2.1.2/; revision=10055

bin/emerge

index d3096f119f6d931f78689a82f7319984e8d20408..d25f2e60522e2f71538d4b163d049e13d03a9a7e 100755 (executable)
@@ -3381,6 +3381,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)