From: Zac Medico Date: Mon, 22 Oct 2007 03:50:32 +0000 (-0000) Subject: Bug #196680 - Handle a CacheError inside mirror_cache() when X-Git-Tag: v2.2_pre1~560 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5875da93f9ab79f013463e29b54c6f0c3cd2a036;p=portage.git Bug #196680 - Handle a CacheError inside mirror_cache() when reading from the source cache. svn path=/main/trunk/; revision=8222 --- 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: