From 816ec8fa2903f10a5dca945f8bd875299672e690 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 12 Mar 2006 09:39:32 +0000 Subject: Fix misuse of dict.fromkeys class method so that cache cleansing works during `emerge --metadata` runs. svn path=/main/trunk/; revision=2861 --- pym/cache/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/cache/util.py') diff --git a/pym/cache/util.py b/pym/cache/util.py index 26d917af3..7e5e1f771 100644 --- a/pym/cache/util.py +++ b/pym/cache/util.py @@ -16,7 +16,7 @@ def mirror_cache(valid_nodes_iterable, src_cache, trg_cache, eclass_cache=None, noise=verbose_instance dead_nodes = {} - dead_nodes.fromkeys(trg_cache.keys()) + dead_nodes = dict.fromkeys(trg_cache.keys()) count=0 if not trg_cache.autocommits: -- cgit v1.2.3-1-g7c22