summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2012-05-28 03:06:14 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2012-05-28 03:06:14 (GMT)
commitc6aa93cf22a60f83f9c057dbde3f492d7010aa7a (patch)
tree1c0a8b96f50377e869a9ca625480aecbdeb11340 /Lib
parent7ef3ff3f2ea77f496f5386c3ede74f95001a6009 (diff)
parente1c5087802428133e7b45228fa22be8d3f2d463c (diff)
downloadcpython-c6aa93cf22a60f83f9c057dbde3f492d7010aa7a.zip
cpython-c6aa93cf22a60f83f9c057dbde3f492d7010aa7a.tar.gz
cpython-c6aa93cf22a60f83f9c057dbde3f492d7010aa7a.tar.bz2
Merge 3.2 #14929
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/GrepDialog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/GrepDialog.py b/Lib/idlelib/GrepDialog.py
index 01e0483..27fcc33 100644
--- a/Lib/idlelib/GrepDialog.py
+++ b/Lib/idlelib/GrepDialog.py
@@ -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