From 6907b88a99468f88e6ba2ca479d419dcdf921131 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Mon, 21 Sep 2009 16:07:07 +0000 Subject: Use dict.(keys|values|items)() instead of dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327 --- pym/portage/eclass_cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/portage/eclass_cache.py') diff --git a/pym/portage/eclass_cache.py b/pym/portage/eclass_cache.py index 30b83ea3d..2c3c66c86 100644 --- a/pym/portage/eclass_cache.py +++ b/pym/portage/eclass_cache.py @@ -114,7 +114,7 @@ class cache(object): def is_eclass_data_valid(self, ec_dict): if not isinstance(ec_dict, dict): return False - for eclass, tup in ec_dict.iteritems(): + for eclass, tup in ec_dict.items(): cached_data = self.eclasses.get(eclass, None) """ Only use the mtime for validation since the probability of a collision is small and, depending on the cache implementation, the -- cgit v1.2.3-1-g7c22