mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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
|
@ -264,7 +264,7 @@ def walk(top, topdown=True, onerror=None, followlinks=False):
|
|||
from os.path import join, isdir, islink
|
||||
|
||||
# We may not have read permission for top, in which case we can't
|
||||
# get a list of the files the directory contains. os.path.walk
|
||||
# get a list of the files the directory contains. os.walk
|
||||
# always suppressed the exception then, rather than blow up for a
|
||||
# minor reason when (say) a thousand readable directories are still
|
||||
# left to visit. That logic is copied here.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue