diff options
Diffstat (limited to 'tools/code_coverage')
-rwxr-xr-x | tools/code_coverage/coverage_posix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/code_coverage/coverage_posix.py b/tools/code_coverage/coverage_posix.py index 47cd524..ebc7df5 100755 --- a/tools/code_coverage/coverage_posix.py +++ b/tools/code_coverage/coverage_posix.py @@ -376,7 +376,7 @@ class Coverage(object): except IOError: logging.fatal('IO error in bundle file ' + self.options.bundles + ' (doesn\'t exist?)') - except NameError, SyntaxError: + except (NameError, SyntaxError): logging.fatal('Parse or syntax error in bundle file ' + self.options.bundles) if hasattr(tests_from_bundles, '__iter__'): |