summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/pysource.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-05-05 18:18:16 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-05-05 18:18:16 (GMT)
commit1e794f66f4503561f651547d08653d8ee3a87c34 (patch)
tree5a55a912c59d45979b017dd21637e715a6041703 /Tools/scripts/pysource.py
parentcb395187d02b9f6a2a3114d9ffa3fa77faca5008 (diff)
downloadcpython-1e794f66f4503561f651547d08653d8ee3a87c34.zip
cpython-1e794f66f4503561f651547d08653d8ee3a87c34.tar.gz
cpython-1e794f66f4503561f651547d08653d8ee3a87c34.tar.bz2
Remove obsolete 'rU' mode in Tools/scripts too (see be5b8d1ded34)
Diffstat (limited to 'Tools/scripts/pysource.py')
-rw-r--r--Tools/scripts/pysource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/pysource.py b/Tools/scripts/pysource.py
index 048131e..c7dbe60 100644
--- a/Tools/scripts/pysource.py
+++ b/Tools/scripts/pysource.py
@@ -42,7 +42,7 @@ def _open(fullpath):
return None
try:
- return open(fullpath, 'rU')
+ return open(fullpath)
except IOError as err: # Access denied, or a special file - ignore it
print_debug("%s: access denied: %s" % (fullpath, err))
return None