aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-10 17:43:14 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-10 17:43:14 +0100
commit46223679609f929abd7874f93f8b7cf55b7f605d (patch)
tree19aa80daed3a7b2794c8f65ecf8a9d18f5fed0f8
parent09fc6b178c0ba3d28c118ef34bf6c3ac301cf781 (diff)
downloadpaludis-46223679609f929abd7874f93f8b7cf55b7f605d.tar.gz
paludis-46223679609f929abd7874f93f8b7cf55b7f605d.tar.xz
Don't use fancy eapi trickery for bad mtimes
-rw-r--r--paludis/repositories/e/ebuild_flat_metadata_cache.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/paludis/repositories/e/ebuild_flat_metadata_cache.cc b/paludis/repositories/e/ebuild_flat_metadata_cache.cc
index 9030fc6..6402848 100644
--- a/paludis/repositories/e/ebuild_flat_metadata_cache.cc
+++ b/paludis/repositories/e/ebuild_flat_metadata_cache.cc
@@ -650,6 +650,13 @@ EbuildFlatMetadataCache::load(const std::shared_ptr<const EbuildID> & id, const
{
throw;
}
+ catch (const DestringifyError & e)
+ {
+ Log::get_instance()->message("e.cache.failure", ll_warning, lc_no_context) << "Not using cache file at '"
+ << _imp->filename << "' due to destringify exception '" << e.message() << "' (" << e.what() << ")";
+
+ return false;
+ }
catch (const Exception & e)
{
Log::get_instance()->message("e.cache.failure", ll_warning, lc_no_context) << "Not using cache file at '"