mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Removed remnants of os.path.walk().
This commit is contained in:
parent
14a767d4f4
commit
4e6531e7de
8 changed files with 8 additions and 8 deletions
|
@ -341,7 +341,7 @@ def getFilesForName(name):
|
|||
if os.path.isdir(name):
|
||||
# find all python files in directory
|
||||
list = []
|
||||
os.path.walk(name, _visit_pyfiles, list)
|
||||
os.walk(name, _visit_pyfiles, list)
|
||||
return list
|
||||
elif os.path.exists(name):
|
||||
# a single file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue