Fix misuse of dict.fromkeys class method so that cache cleansing works during `emerge...
authorZac Medico <zmedico@gentoo.org>
Sun, 12 Mar 2006 09:39:32 +0000 (09:39 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 12 Mar 2006 09:39:32 +0000 (09:39 -0000)
svn path=/main/trunk/; revision=2861

pym/cache/util.py

index 26d917af394af6d4d2261b3ae19ca37b762280f9..7e5e1f771773093d0a14daadcf6dd247b9cc45ff 100644 (file)
@@ -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: