diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-11 11:51:29 (GMT) |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-11 11:51:29 (GMT) |
commit | e1aa8d2b2d64eb147cedc24016c38f209d9d397f (patch) | |
tree | d3f10cbdd1b20e7e881585dead0f7f3fa7512edd /bench/bench.py | |
parent | 055c8046afce036fdfad4bc8d60e4059da148f7d (diff) | |
download | SCons-e1aa8d2b2d64eb147cedc24016c38f209d9d397f.zip SCons-e1aa8d2b2d64eb147cedc24016c38f209d9d397f.tar.gz SCons-e1aa8d2b2d64eb147cedc24016c38f209d9d397f.tar.bz2 |
Remove 'U' flag to open() which is deprecated.
Diffstat (limited to 'bench/bench.py')
-rw-r--r-- | bench/bench.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/bench.py b/bench/bench.py index cfdac2d..3f7dbc6 100644 --- a/bench/bench.py +++ b/bench/bench.py @@ -88,7 +88,7 @@ if len(args) != 1: sys.exit(1) -exec(open(args[0], 'rU').read()) +exec(open(args[0], 'r').read()) try: |