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):
|
def findfiles(self, dir, base, rec):
|
||||||
try:
|
try:
|
||||||
names = os.listdir(dir or os.curdir)
|
names = os.listdir(dir or os.curdir)
|
||||||
except OSerror as msg:
|
except OSError as msg:
|
||||||
print(msg)
|
print(msg)
|
||||||
return []
|
return []
|
||||||
list = []
|
list = []
|
||||||
|
|
Loading…
Reference in New Issue