aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/codeparser.py
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-05-13 16:46:32 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2011-05-13 16:46:36 +0000
commitabecbb4c0af83c6b4ee248b0f03b779f84b13390 (patch)
tree6b2d8cc71e65dfd6f8f76cd13397cb2cab150763 /lib/bb/codeparser.py
parent036cf3cd11b3a6836b77f5ffa760ceee6b71b1ef (diff)
downloadbitbake-abecbb4c0af83c6b4ee248b0f03b779f84b13390.tar.gz
codeparser.py: fix syntax error in exception handling
Commit 036cf3cd11b3a6836b77f5ffa760ceee6b71b1ef missed the needed brackets to handle more then a type of exception. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'lib/bb/codeparser.py')
-rw-r--r--lib/bb/codeparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/codeparser.py b/lib/bb/codeparser.py
index be625a0c2..bb2616748 100644
--- a/lib/bb/codeparser.py
+++ b/lib/bb/codeparser.py
@@ -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: