projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3439199
)
egencache: fix StatCollision handling breakage
author
Zac Medico
<zmedico@gentoo.org>
Sat, 29 Oct 2011 18:56:14 +0000
(11:56 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 29 Oct 2011 18:56:14 +0000
(11:56 -0700)
This has been broken since the _eclasses_ structure changed in commit
2ed1cb53cc4158af08c22d466b15b9a9a7767212
.
bin/egencache
patch
|
blob
|
history
diff --git
a/bin/egencache
b/bin/egencache
index 38e983361115f98ff0ce23300bcd246a01d8e0d3..01eadf053cff2430db61ab966462202b00642b1b 100755
(executable)
--- 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)