From: Terry Jan Reedy Date: Sun, 23 Feb 2014 05:37:16 +0000 (-0500) Subject: Issue #20730: Fix typo reported by Claudiu Popa. X-Git-Tag: v3.3.5rc1~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c3111fcbc7c431fe30dbcd6f4b31f4ad849c0eaf;p=thirdparty%2FPython%2Fcpython.git Issue #20730: Fix typo reported by Claudiu Popa. --- diff --git a/Lib/idlelib/GrepDialog.py b/Lib/idlelib/GrepDialog.py index 2e07312eaf8d..c3590742ebb3 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 = []