diff options
Diffstat (limited to 'bench')
-rw-r--r-- | bench/bench.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bench/bench.py b/bench/bench.py index d90d75ad..ef605350 100644 --- a/bench/bench.py +++ b/bench/bench.py @@ -28,7 +28,6 @@ import getopt import sys import time import types -import string Usage = """\ Usage: bench.py OPTIONS file.py @@ -88,7 +87,7 @@ if len(args) != 1: sys.exit(1) -exec(string.replace(open(args[0]).read(), '\r', '\n')) +exec(open(args[0], 'rU').read()) try: |