From: Zac Medico Date: Sun, 12 Mar 2006 09:39:32 +0000 (-0000) Subject: Fix misuse of dict.fromkeys class method so that cache cleansing works during `emerge... X-Git-Tag: v2.1_pre7~111 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=816ec8fa2903f10a5dca945f8bd875299672e690;p=portage.git Fix misuse of dict.fromkeys class method so that cache cleansing works during `emerge --metadata` runs. svn path=/main/trunk/; revision=2861 --- 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: