commit | ba6c0d3b08768b1a6b9bebba5eeead840fdc9356 | [log] [tgz] |
---|---|---|
author | Terry Jan Reedy <tjreedy@udel.edu> | Sat Jun 08 00:22:45 2013 -0400 |
committer | Terry Jan Reedy <tjreedy@udel.edu> | Sat Jun 08 00:22:45 2013 -0400 |
tree | 43af5a771d5a7db76050f041c804d85fe93e08cf | |
parent | 50793b44382e8d2bdd3a89a0c1ecd8eb97093e22 [diff] [blame] |
#18151, part 1: Backport idlelilb portion of Andrew Svetlov's 3.4 patch changing IOError to OSError (#16715).
diff --git a/Lib/idlelib/GrepDialog.py b/Lib/idlelib/GrepDialog.py index 27fcc33..46d6304 100644 --- a/Lib/idlelib/GrepDialog.py +++ b/Lib/idlelib/GrepDialog.py
@@ -82,7 +82,7 @@ for fn in list: try: f = open(fn, errors='replace') - except IOError as msg: + except OSError as msg: print(msg) continue lineno = 0