diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-05-13 16:46:32 +0000 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2011-05-16 12:39:42 -0700 |
commit | 0db267b94850053d02469d51d840d60ef96b6a43 (patch) | |
tree | 470dd4ffd2afff68e21e9b9ca27a14f615553f94 /lib/bb | |
parent | 08f53145c5aff249e8251bcaae713bff13cf0b87 (diff) | |
download | bitbake-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.py | 2 |
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: |