Bug #196680 - Handle a CacheError inside mirror_cache() when
authorZac Medico <zmedico@gentoo.org>
Mon, 22 Oct 2007 03:50:32 +0000 (03:50 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 22 Oct 2007 03:50:32 +0000 (03:50 -0000)
reading from the source cache.

svn path=/main/trunk/; revision=8222

pym/portage/cache/util.py

index eb08f11e3a64f6c606a3f72a66215bf13d8f3636..f256be76ffa3ab6998e14228f8e55b08ad0ca4f9 100644 (file)
@@ -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: