diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-02-23 05:37:16 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-02-23 05:37:16 (GMT) |
commit | c3111fcbc7c431fe30dbcd6f4b31f4ad849c0eaf (patch) | |
tree | 587307ecc20720c79f9e20da901416842760e13e | |
parent | 2d659518aa4d21ee72896a4b8a55bfacc2bd7adc (diff) | |
download | cpython-c3111fcbc7c431fe30dbcd6f4b31f4ad849c0eaf.zip cpython-c3111fcbc7c431fe30dbcd6f4b31f4ad849c0eaf.tar.gz cpython-c3111fcbc7c431fe30dbcd6f4b31f4ad849c0eaf.tar.bz2 |
Issue #20730: Fix typo reported by Claudiu Popa.
-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 2e07312..c359074 100644 --- a/Lib/idlelib/GrepDialog.py +++ b/Lib/idlelib/GrepDialog.py @@ -98,7 +98,7 @@ class GrepDialog(SearchDialogBase): def findfiles(self, dir, base, rec): try: names = os.listdir(dir or os.curdir) - except OSerror as msg: + except OSError as msg: print(msg) return [] list = [] |