From 5c8b6da1dbbe718939c70dc926cb160f758ed9f7 Mon Sep 17 00:00:00 2001 From: Craig Rodrigues Date: Sat, 11 Mar 2017 04:10:59 -0800 Subject: Remove 'U' flag to open() which is deprecated. --- src/script/scons-time.py | 4 ++-- 1 file 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) -- cgit v0.12