From abecbb4c0af83c6b4ee248b0f03b779f84b13390 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 13 May 2011 16:46:32 +0000 Subject: 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 --- lib/bb/codeparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/bb/codeparser.py') 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: -- cgit 1.2.3-korg