summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-05-13 16:46:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-24 17:16:47 +0100
commit32a4e746273c3c7d3dd0f13b745bc0679cadaa44 (patch)
tree0ece7f42877a40ddbc9314766234bc9e57d5ea6a /bitbake
parent3504c3a9b1af5a3405e0a03a5ade50b82535b6dd (diff)
downloadpoky-32a4e746273c3c7d3dd0f13b745bc0679cadaa44.tar.gz
codeparser.py: fix syntax error in exception handling
Commit 036cf3cd11b3a6836b77f5ffa760ceee6b71b1ef missed the needed brackets to handle more then a type of exception. (Bitbake rev: abecbb4c0af83c6b4ee248b0f03b779f84b13390) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> 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 be625a0c21..bb26167481 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, EOFError: 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: