1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

codeparser: When loading the cache, ignore ValueError

(Bitbake rev: 9bff182a4ba9571679985b45b309990a6eddad14)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2011-06-15 10:27:09 +01:00
parent 7aa7673459
commit 039798a4d2
+1 -1
View File
@@ -89,7 +89,7 @@ def parser_cache_save(d):
try:
p = pickle.Unpickler(file(cachefile, "rb"))
data, version = p.load()
except (IOError, EOFError):
except (IOError, EOFError, ValueError):
data, version = None, None
if version != PARSERCACHE_VERSION: