Commit fe834e6f authored by Neal Norwitz's avatar Neal Norwitz

Remove another reference to stat.ST_MODE

parent 50ccb1ff
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment