aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/bb/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/cache.py b/lib/bb/cache.py
index 8ca3aba71..312ca15c0 100644
--- a/lib/bb/cache.py
+++ b/lib/bb/cache.py
@@ -91,7 +91,7 @@ class Cache:
except EOFError:
bb.msg.note(1, bb.msg.domain.Cache, "Truncated cache found, rebuilding...")
self.depends_cache = {}
- except (ValueError, KeyError):
+ except:
bb.msg.note(1, bb.msg.domain.Cache, "Invalid cache found, rebuilding...")
self.depends_cache = {}
else: