summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-12 23:35:53 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-12 23:39:20 +0100
commit477934e5be44194a842352ab80c745606e6a922b (patch)
tree0692ffda886a426e70d063605a9ca1d7b12ba334 /bitbake/lib/bb
parentbc367526f85ec11f82826fa5ce6607b9e73f9273 (diff)
downloadpoky-477934e5be44194a842352ab80c745606e6a922b.tar.gz
codeparser.py: Ignore incomplete cache files
(Bitbake rev: 036cf3cd11b3a6836b77f5ffa760ceee6b71b1ef) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-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 f4482a46b8..be625a0c21 100644
--- a/bitbake/lib/bb/codeparser.py
+++ b/bitbake/lib/bb/codeparser.py
@@ -75,7 +75,7 @@ def parser_cache_save(d):
75 try: 75 try:
76 p = pickle.Unpickler(file(cachefile, "rb")) 76 p = pickle.Unpickler(file(cachefile, "rb"))
77 data, version = p.load() 77 data, version = p.load()
78 except IOError: 78 except IOError, EOFError:
79 data, version = None, None 79 data, version = None, None
80 80
81 if version == PARSERCACHE_VERSION: 81 if version == PARSERCACHE_VERSION: