summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-15 09:27:09 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-15 10:13:13 (GMT)
commit039798a4d250665c66fd738dba4d07dc2ec70652 (patch)
tree7d3d697a0a7b892d7a160a7ba97dbe31ee081f2f /bitbake
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')
-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 936b742..83bbb92 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: