summaryrefslogtreecommitdiffstats
path: root/pym/cache/util.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-22 02:50:33 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-22 02:50:33 +0000
commite5145157dbdb9c2683d1ab8176641f19d2dc5d4e (patch)
treebb858e72885b464b80e22ad228d158376c46307a /pym/cache/util.py
parent817be01f9ea3e703a861e4ec8ade82683903232a (diff)
downloadportage-e5145157dbdb9c2683d1ab8176641f19d2dc5d4e.tar.gz
portage-e5145157dbdb9c2683d1ab8176641f19d2dc5d4e.tar.bz2
portage-e5145157dbdb9c2683d1ab8176641f19d2dc5d4e.zip
Implement iterkeys on top of __iter__ instead of vice versa. Thanks to Brian Harring for the suggestion. (trunk r6918)
svn path=/main/branches/2.1.2/; revision=6934
Diffstat (limited to 'pym/cache/util.py')
-rw-r--r--pym/cache/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/cache/util.py b/pym/cache/util.py
index 0e81a399f..90fcd53dc 100644
--- a/pym/cache/util.py
+++ b/pym/cache/util.py
@@ -18,7 +18,7 @@ def mirror_cache(valid_nodes_iterable, src_cache, trg_cache, eclass_cache=None,
else:
noise=verbose_instance
- dead_nodes = set(trg_cache.iterkeys())
+ dead_nodes = set(trg_cache)
count=0
if not trg_cache.autocommits: