summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-05-01 05:42:55 +0000
committerZac Medico <zmedico@gentoo.org>2008-05-01 05:42:55 +0000
commitec48c11319f20bbcc3c8959ae106f5aa5e1130fb (patch)
tree3a23b386ae30184889df4fa82a80b7b5014979cf
parentd5f86806f584ed91a7e89666ae224f457fcaaff7 (diff)
downloadportage-ec48c11319f20bbcc3c8959ae106f5aa5e1130fb.tar.gz
portage-ec48c11319f20bbcc3c8959ae106f5aa5e1130fb.tar.bz2
portage-ec48c11319f20bbcc3c8959ae106f5aa5e1130fb.zip
Sort blockers when caching them.
svn path=/main/trunk/; revision=10054
-rw-r--r--pym/_emerge/__init__.py1
1 files changed, 1 insertions, 0 deletions
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)