projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e8870b
)
eclass_cache: fix cache_getter typo
author
Zac Medico
<zmedico@gentoo.org>
Sat, 15 Oct 2011 01:49:13 +0000
(18:49 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 15 Oct 2011 01:49:13 +0000
(18:49 -0700)
This triggered a regression since commit
2ed1cb53cc4158af08c22d466b15b9a9a7767212
that caused cache entries
containing eclass paths to appear invalid.
pym/portage/eclass_cache.py
patch
|
blob
|
history
diff --git
a/pym/portage/eclass_cache.py
b/pym/portage/eclass_cache.py
index fb187416d53dfabce5ca9e4107716407028ddd37..2f6e947700a8e26fd424c4e9f8a1c173204f9752 100644
(file)
--- a/
pym/portage/eclass_cache.py
+++ b/
pym/portage/eclass_cache.py
@@
-138,7
+138,7
@@
class cache(object):
our_getter = operator.attrgetter(chf_type)
cache_getter = lambda x:x
if stores_paths:
-
key
_getter = operator.itemgetter(1)
+
cache
_getter = operator.itemgetter(1)
d = {}
for eclass, ec_data in ec_dict.items():
cached_data = self.eclasses.get(eclass)