diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-10-22 03:52:44 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-10-22 03:52:44 +0000 |
commit | a3eb818d57142c736365b61aade6889ee3b82519 (patch) | |
tree | 5e4fbc77b0a84cb7de6211b67203d785faa415b7 | |
parent | 92441b7568eedacb4244b6af690e0460bd811eef (diff) | |
download | portage-a3eb818d57142c736365b61aade6889ee3b82519.tar.gz portage-a3eb818d57142c736365b61aade6889ee3b82519.tar.bz2 portage-a3eb818d57142c736365b61aade6889ee3b82519.zip |
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
-rw-r--r-- | pym/cache/util.py | 4 |
1 files changed, 4 insertions, 0 deletions
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: |