summaryrefslogtreecommitdiffstats
path: root/bin/update-release-info.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 /bin/update-release-info.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 'bin/update-release-info.py')
-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 49f2788..81e0df5 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