diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-03-12 09:39:32 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-03-12 09:39:32 +0000 |
commit | 816ec8fa2903f10a5dca945f8bd875299672e690 (patch) | |
tree | d647981bf6c19f7161ba8fd2eb98471a98dc3865 | |
parent | 429904e1c93beae3cc8e70a9a396acb514c6c2e0 (diff) | |
download | portage-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
-rw-r--r-- | pym/cache/util.py | 2 |
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: |