Sort blockers when caching them.
authorZac Medico <zmedico@gentoo.org>
Thu, 1 May 2008 05:42:55 +0000 (05:42 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 1 May 2008 05:42:55 +0000 (05:42 -0000)
svn path=/main/trunk/; revision=10054

pym/_emerge/__init__.py

index a42a71d56f6f85c05b2d99384b72ea0b1895875d..bbebc5d3f133c5743cbcc7a29689c263fd68f24f 100644 (file)
@@ -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)