summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-15 10:27:09 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-15 11:13:13 +0100
commit039798a4d250665c66fd738dba4d07dc2ec70652 (patch)
tree7d3d697a0a7b892d7a160a7ba97dbe31ee081f2f /bitbake/lib
parent7aa7673459376aff911cef820c9417c998d1aa96 (diff)
downloadpoky-039798a4d250665c66fd738dba4d07dc2ec70652.tar.gz
codeparser: When loading the cache, ignore ValueError
(Bitbake rev: 9bff182a4ba9571679985b45b309990a6eddad14) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/codeparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/codeparser.py b/bitbake/lib/bb/codeparser.py
index 936b742614..83bbb927a0 100644
--- a/bitbake/lib/bb/codeparser.py
+++ b/bitbake/lib/bb/codeparser.py
@@ -89,7 +89,7 @@ def parser_cache_save(d):
89 try: 89 try:
90 p = pickle.Unpickler(file(cachefile, "rb")) 90 p = pickle.Unpickler(file(cachefile, "rb"))
91 data, version = p.load() 91 data, version = p.load()
92 except (IOError, EOFError): 92 except (IOError, EOFError, ValueError):
93 data, version = None, None 93 data, version = None, None
94 94
95 if version != PARSERCACHE_VERSION: 95 if version != PARSERCACHE_VERSION: