mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Merge 3.2 #14929
This commit is contained in:
commit
c6aa93cf22
2 changed files with 4 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class GrepDialog(SearchDialogBase):
|
|||
hits = 0
|
||||
for fn in list:
|
||||
try:
|
||||
f = open(fn)
|
||||
f = open(fn, errors='replace')
|
||||
except IOError as msg:
|
||||
print(msg)
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue