Browse Source

Fix old Python syntax.

INADA Naoki 11 years ago
parent
commit
025ca7b77a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      toolset/benchmark/benchmarker.py

+ 1 - 1
toolset/benchmark/benchmarker.py

@@ -833,7 +833,7 @@ class Benchmarker:
     try:
       with open(os.path.join(self.latest_results_directory, 'results.json')) as f:
         results = json.load(f)
-    except ValueError, IOError:
+    except (ValueError, IOError):
       pass
     else:
       self.results = results