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

svn path=/main/branches/2.1.2/; revision=8223

pym/cache/util.py

index 90fcd53dc485dd76bb4d594e5cb7cd874c5c8c6c..38cd7d908fdbd382f6eaf24448ede629fd5a289f 100644 (file)
@@ -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: