Kaydet (Commit) ec7cf138 authored tarafından Neal Norwitz's avatar Neal Norwitz

Remove another reference to stat.ST_MODE

üst 33b77de1
...@@ -280,7 +280,7 @@ def walk(top, func, arg): ...@@ -280,7 +280,7 @@ def walk(top, func, arg):
st = os.lstat(name) st = os.lstat(name)
except os.error: except os.error:
continue continue
if stat.S_ISDIR(st[stat.ST_MODE]): if stat.S_ISDIR(st.st_mode):
walk(name, func, arg) 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