From 5875da93f9ab79f013463e29b54c6f0c3cd2a036 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 22 Oct 2007 03:50:32 +0000 Subject: [PATCH] Bug #196680 - Handle a CacheError inside mirror_cache() when reading from the source cache. svn path=/main/trunk/; revision=8222 --- pym/portage/cache/util.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pym/portage/cache/util.py b/pym/portage/cache/util.py index eb08f11e3..f256be76f 100644 --- a/pym/portage/cache/util.py +++ b/pym/portage/cache/util.py @@ -31,6 +31,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: -- 2.26.2