mirror of https://github.com/python/cpython
Issue #20730: Fix typo reported by Claudiu Popa.
This commit is contained in:
parent
2d659518aa
commit
c3111fcbc7
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue