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>
This commit is contained in:
Otavio Salvador 2011-05-13 16:46:32 +00:00 committed by Richard Purdie
parent 3504c3a9b1
commit 32a4e74627
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ def parser_cache_save(d):
try:
p = pickle.Unpickler(file(cachefile, "rb"))
data, version = p.load()
except IOError, EOFError:
except (IOError, EOFError):
data, version = None, None
if version == PARSERCACHE_VERSION: