summaryrefslogtreecommitdiffstats
path: root/pym/cache
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-03-12 09:39:32 +0000
committerZac Medico <zmedico@gentoo.org>2006-03-12 09:39:32 +0000
commit816ec8fa2903f10a5dca945f8bd875299672e690 (patch)
treed647981bf6c19f7161ba8fd2eb98471a98dc3865 /pym/cache
parent429904e1c93beae3cc8e70a9a396acb514c6c2e0 (diff)
downloadportage-816ec8fa2903f10a5dca945f8bd875299672e690.tar.gz
portage-816ec8fa2903f10a5dca945f8bd875299672e690.tar.bz2
portage-816ec8fa2903f10a5dca945f8bd875299672e690.zip
Fix misuse of dict.fromkeys class method so that cache cleansing works during `emerge --metadata` runs.
svn path=/main/trunk/; revision=2861
Diffstat (limited to 'pym/cache')
-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 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: