summaryrefslogtreecommitdiffstats
path: root/lib/bb
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-05-13 16:46:32 +0000
committerChris Larson <chris_larson@mentor.com>2011-05-16 12:39:42 -0700
commit0db267b94850053d02469d51d840d60ef96b6a43 (patch)
tree470dd4ffd2afff68e21e9b9ca27a14f615553f94 /lib/bb
parent08f53145c5aff249e8251bcaae713bff13cf0b87 (diff)
downloadbitbake-0db267b94850053d02469d51d840d60ef96b6a43.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')
-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: