aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild_flat_metadata_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/ebuild_flat_metadata_cache.cc')
-rw-r--r--paludis/repositories/e/ebuild_flat_metadata_cache.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/paludis/repositories/e/ebuild_flat_metadata_cache.cc b/paludis/repositories/e/ebuild_flat_metadata_cache.cc
index b3bfa68f4..9030fc689 100644
--- a/paludis/repositories/e/ebuild_flat_metadata_cache.cc
+++ b/paludis/repositories/e/ebuild_flat_metadata_cache.cc
@@ -654,7 +654,10 @@ EbuildFlatMetadataCache::load(const std::shared_ptr<const EbuildID> & id, const
{
Log::get_instance()->message("e.cache.failure", ll_warning, lc_no_context) << "Not using cache file at '"
<< _imp->filename << "' due to exception '" << e.message() << "' (" << e.what() << ")";
- return false;
+
+ id->set_eapi(EAPIData::get_instance()->unknown_eapi()->name());
+
+ return true;
}
}