Remove another reference to stat.ST_MODE
This commit is contained in:
parent
33b77de106
commit
ec7cf1382b
|
@ -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…
Reference in New Issue