Remove another reference to stat.ST_MODE

This commit is contained in:
Neal Norwitz 2002-06-06 18:16:14 +00:00
parent 33b77de106
commit ec7cf1382b
1 changed files with 1 additions and 1 deletions

View File

@ -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)