summaryrefslogtreecommitdiffstats
path: root/bench/bench.py
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-11 11:51:29 (GMT)
committerCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-11 11:51:29 (GMT)
commite1aa8d2b2d64eb147cedc24016c38f209d9d397f (patch)
treed3f10cbdd1b20e7e881585dead0f7f3fa7512edd /bench/bench.py
parent055c8046afce036fdfad4bc8d60e4059da148f7d (diff)
downloadSCons-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.py2
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: