From: Zac Medico Date: Sat, 15 Oct 2011 01:49:13 +0000 (-0700) Subject: eclass_cache: fix cache_getter typo X-Git-Tag: v2.2.0_alpha68~42 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5e88b0d4ced1deb01ae18ea7868745d35b2fd7b2;p=portage.git eclass_cache: fix cache_getter typo This triggered a regression since commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212 that caused cache entries containing eclass paths to appear invalid. --- diff --git a/pym/portage/eclass_cache.py b/pym/portage/eclass_cache.py index fb187416d..2f6e94770 100644 --- 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)