diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-10-22 03:50:32 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-10-22 03:50:32 +0000 |
commit | 5875da93f9ab79f013463e29b54c6f0c3cd2a036 (patch) | |
tree | d6523d19046132c84c7b8beefe5d88146bb9797d | |
parent | 4666a76e5d4808e2cc017dbe8b15b89d77541923 (diff) | |
download | portage-5875da93f9ab79f013463e29b54c6f0c3cd2a036.tar.gz portage-5875da93f9ab79f013463e29b54c6f0c3cd2a036.tar.bz2 portage-5875da93f9ab79f013463e29b54c6f0c3cd2a036.zip |
Bug #196680 - Handle a CacheError inside mirror_cache() when
reading from the source cache.
svn path=/main/trunk/; revision=8222
-rw-r--r-- | pym/portage/cache/util.py | 4 |
1 files changed, 4 insertions, 0 deletions
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: |