summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: