diff options
Diffstat (limited to 'benchmarks/benchmark.py')
-rw-r--r-- | benchmarks/benchmark.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/benchmark.py b/benchmarks/benchmark.py index 526a69d58..047379451 100644 --- a/benchmarks/benchmark.py +++ b/benchmarks/benchmark.py @@ -35,7 +35,7 @@ class Benchmark(dict): try: print "%s: %s" % (modname, \ self.module_test[mod].repeat(self.runs,self.reps)) - except Exception, e: + except Exception as e: print "%s: Failed to benchmark (%s)." % (modname,e) print '-'*79 |