diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2012-05-28 03:06:14 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2012-05-28 03:06:14 (GMT) |
commit | c6aa93cf22a60f83f9c057dbde3f492d7010aa7a (patch) | |
tree | 1c0a8b96f50377e869a9ca625480aecbdeb11340 /Lib/idlelib | |
parent | 7ef3ff3f2ea77f496f5386c3ede74f95001a6009 (diff) | |
parent | e1c5087802428133e7b45228fa22be8d3f2d463c (diff) | |
download | cpython-c6aa93cf22a60f83f9c057dbde3f492d7010aa7a.zip cpython-c6aa93cf22a60f83f9c057dbde3f492d7010aa7a.tar.gz cpython-c6aa93cf22a60f83f9c057dbde3f492d7010aa7a.tar.bz2 |
Merge 3.2 #14929
Diffstat (limited to 'Lib/idlelib')
-rw-r--r-- | Lib/idlelib/GrepDialog.py | 2 |
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 |