mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
Remove another reference to stat.ST_MODE
This commit is contained in:
parent
33b77de106
commit
ec7cf1382b
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ def walk(top, func, arg):
|
|||
st = os.lstat(name)
|
||||
except os.error:
|
||||
continue
|
||||
if stat.S_ISDIR(st[stat.ST_MODE]):
|
||||
if stat.S_ISDIR(st.st_mode):
|
||||
walk(name, func, arg)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue