diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-11 04:10:59 -0800 |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-11 04:10:59 -0800 |
commit | a7576d9d63fef6f91124feb25e1c4f3ea3496d91 (patch) | |
tree | 47b3fa80dcf55fd06dfbe0d4695d28818e923cf2 /src/script | |
parent | 14cd925a49bea1424ffea56fc0334c1f2a6d8aaa (diff) | |
download | scons-a7576d9d63fef6f91124feb25e1c4f3ea3496d91.tar.gz |
Remove 'U' flag to open() which is deprecated.
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/scons-time.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/scons-time.py b/src/script/scons-time.py index f12280c1..b4db35f3 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) |