Commit c3111fcb authored by Terry Jan Reedy's avatar Terry Jan Reedy

Issue #20730: Fix typo reported by Claudiu Popa.

parent 2d659518
......@@ -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 = []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment