summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-11 03:51:29 -0800
committerCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-11 03:51:29 -0800
commit14cd925a49bea1424ffea56fc0334c1f2a6d8aaa (patch)
treed3f10cbdd1b20e7e881585dead0f7f3fa7512edd /bin
parente45ba445a1140cfa4d7836f54f2e6b8d9a5c7325 (diff)
downloadscons-14cd925a49bea1424ffea56fc0334c1f2a6d8aaa.tar.gz
Remove 'U' flag to open() which is deprecated.
Diffstat (limited to 'bin')
-rw-r--r--bin/update-release-info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/update-release-info.py b/bin/update-release-info.py
index 49f2788c..81e0df5a 100644
--- a/bin/update-release-info.py
+++ b/bin/update-release-info.py
@@ -152,7 +152,7 @@ class UpdateFile(object):
'''
if orig is None: orig = file
try:
- self.content = open(orig, 'rU').read()
+ self.content = open(orig, 'r').read()
except IOError:
# Couldn't open file; don't try to write anything in __del__
self.file = None