mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
Remove obsolete 'rU' mode in Tools/scripts too (see be5b8d1ded34)
This commit is contained in:
parent
cb395187d0
commit
1e794f66f4
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue