]> granicus.if.org Git - python/commitdiff
Issue #20730: Fix typo reported by Claudiu Popa.
authorTerry Jan Reedy <tjreedy@udel.edu>
Sun, 23 Feb 2014 05:37:16 +0000 (00:37 -0500)
committerTerry Jan Reedy <tjreedy@udel.edu>
Sun, 23 Feb 2014 05:37:16 +0000 (00:37 -0500)
Lib/idlelib/GrepDialog.py

index 2e07312eaf8d175dbafc38a5f0b6c280f3e1def7..c3590742ebb307916557d5fa352de2fe08d5c16b 100644 (file)
@@ -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 = []