summaryrefslogtreecommitdiffstats
path: root/bin/egencache
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-10-29 11:56:14 -0700
committerZac Medico <zmedico@gentoo.org>2011-10-29 11:56:14 -0700
commitb07808edb1bc7b7adb36fd8d21ea430d1769d2a7 (patch)
treed46046475133903aa8155caa7317fd10eed90084 /bin/egencache
parent34391999ff880d96812878ce0dafcc372ada71c9 (diff)
downloadportage-b07808edb1bc7b7adb36fd8d21ea430d1769d2a7.tar.gz
portage-b07808edb1bc7b7adb36fd8d21ea430d1769d2a7.tar.bz2
portage-b07808edb1bc7b7adb36fd8d21ea430d1769d2a7.zip
egencache: fix StatCollision handling breakage
This has been broken since the _eclasses_ structure changed in commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212.
Diffstat (limited to 'bin/egencache')
-rwxr-xr-xbin/egencache6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/egencache b/bin/egencache
index 38e983361..01eadf053 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -258,9 +258,9 @@ class GenCache(object):
# mtime on the ebuild (and the corresponding cache entry).
# See bug #139134.
max_mtime = sc.mtime
- for ec, (loc, ec_mtime) in metadata['_eclasses_'].items():
- if max_mtime < ec_mtime:
- max_mtime = ec_mtime
+ for ec, ec_hash in metadata['_eclasses_'].items():
+ if max_mtime < ec_hash.mtime:
+ max_mtime = ec_hash.mtime
if max_mtime == sc.mtime:
max_mtime += 1
max_mtime = long(max_mtime)