Handle possible CacheError inside mirror_cache().
authorZac Medico <zmedico@gentoo.org>
Fri, 26 Sep 2008 02:16:14 +0000 (02:16 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 26 Sep 2008 02:16:14 +0000 (02:16 -0000)
svn path=/main/trunk/; revision=11555

pym/portage/cache/util.py

index 253ada0098b11082ece9d962e98015fddb963236..dafaed09452bbfa42f10eb1e0581286be3b45876 100644 (file)
@@ -39,7 +39,7 @@ def mirror_cache(valid_nodes_iterable, src_cache, trg_cache, eclass_cache=None,
                trg = None
                try:
                        trg = trg_cache[x]
-               except KeyError:
+               except (KeyError, cache_errors.CacheError):
                        pass
                else:
                        try: