From a3eb818d57142c736365b61aade6889ee3b82519 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 22 Oct 2007 03:52:44 +0000 Subject: 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 --- pym/cache/util.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pym') 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: -- cgit v1.2.3-1-g7c22