summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/GrepDialog.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-02-23 05:37:16 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-02-23 05:37:16 (GMT)
commitc3111fcbc7c431fe30dbcd6f4b31f4ad849c0eaf (patch)
tree587307ecc20720c79f9e20da901416842760e13e /Lib/idlelib/GrepDialog.py
parent2d659518aa4d21ee72896a4b8a55bfacc2bd7adc (diff)
downloadcpython-c3111fcbc7c431fe30dbcd6f4b31f4ad849c0eaf.zip
cpython-c3111fcbc7c431fe30dbcd6f4b31f4ad849c0eaf.tar.gz
cpython-c3111fcbc7c431fe30dbcd6f4b31f4ad849c0eaf.tar.bz2
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 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 = []