aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-03-13 23:32:03 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-03-13 23:32:03 +0000
commit45512f91ea2eb3838f12d111001621195931fff0 (patch)
treeb6fbae57687ebfaec478e6bf076861a95c4ea6c7 /lib
parent849d6163a419627bb34d246a125d8ea155ac6caf (diff)
downloadbitbake-45512f91ea2eb3838f12d111001621195931fff0.tar.gz
cache.py: Ignore cache load errors and always just rebuild
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: