summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-11 12:10:59 (GMT)
committerCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-11 12:10:59 (GMT)
commit5c8b6da1dbbe718939c70dc926cb160f758ed9f7 (patch)
tree47b3fa80dcf55fd06dfbe0d4695d28818e923cf2 /src
parente1aa8d2b2d64eb147cedc24016c38f209d9d397f (diff)
downloadSCons-5c8b6da1dbbe718939c70dc926cb160f758ed9f7.zip
SCons-5c8b6da1dbbe718939c70dc926cb160f758ed9f7.tar.gz
SCons-5c8b6da1dbbe718939c70dc926cb160f758ed9f7.tar.bz2
Remove 'U' flag to open() which is deprecated.
Diffstat (limited to 'src')
-rw-r--r--src/script/scons-time.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/scons-time.py b/src/script/scons-time.py
index f12280c..b4db35f 100644
--- a/src/script/scons-time.py
+++ b/src/script/scons-time.py
@@ -1191,7 +1191,7 @@ class SConsTimer(object):
sys.exit(1)
if self.config_file:
- exec(open(self.config_file, 'rU').read(), self.__dict__)
+ exec(open(self.config_file, 'r').read(), self.__dict__)
if args:
self.archive_list = args
@@ -1431,7 +1431,7 @@ class SConsTimer(object):
which = a
if self.config_file:
- HACK_for_exec(open(self.config_file, 'rU').read(), self.__dict__)
+ HACK_for_exec(open(self.config_file, 'r').read(), self.__dict__)
if self.chdir:
os.chdir(self.chdir)