From: Zac Medico Date: Mon, 22 Oct 2007 03:52:44 +0000 (-0000) Subject: Bug #196680 - Handle a CacheError inside mirror_cache() when X-Git-Tag: v2.1.3.16~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a3eb818d57142c736365b61aade6889ee3b82519;p=portage.git Bug #196680 - Handle a CacheError inside mirror_cache() when reading from the source cache. (trunk r8222) svn path=/main/branches/2.1.2/; revision=8223 --- diff --git a/pym/cache/util.py b/pym/cache/util.py index 90fcd53dc..38cd7d908 100644 --- a/pym/cache/util.py +++ b/pym/cache/util.py @@ -33,6 +33,10 @@ def mirror_cache(valid_nodes_iterable, src_cache, trg_cache, eclass_cache=None, noise.missing_entry(x) del e continue + except cache_errors.CacheError, ce: + noise.exception(x, ce) + del ce + continue write_it = True trg = None try: