summaryrefslogtreecommitdiff
path: root/Lib/idlelib/GrepDialog.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-02-23 00:37:16 -0500
committerTerry Jan Reedy <tjreedy@udel.edu>2014-02-23 00:37:16 -0500
commitc3111fcbc7c431fe30dbcd6f4b31f4ad849c0eaf (patch)
tree587307ecc20720c79f9e20da901416842760e13e /Lib/idlelib/GrepDialog.py
parent2d659518aa4d21ee72896a4b8a55bfacc2bd7adc (diff)
downloadcpython-git-c3111fcbc7c431fe30dbcd6f4b31f4ad849c0eaf.tar.gz
Issue #20730: Fix typo reported by Claudiu Popa.
Diffstat (limited to 'Lib/idlelib/GrepDialog.py')
-rw-r--r--Lib/idlelib/GrepDialog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/GrepDialog.py b/Lib/idlelib/GrepDialog.py
index 2e07312eaf..c3590742eb 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 = []