summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-06-06 18:16:14 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-06-06 18:16:14 (GMT)
commitec7cf1382bc4f32aa4fe20edcf8be83cbf530c62 (patch)
tree99a90ed46934d99fde1a419731ec3d81ef1c6245
parent33b77de106cc49f3c7e03335d4ff989fa909b9e2 (diff)
downloadcpython-ec7cf1382bc4f32aa4fe20edcf8be83cbf530c62.zip
cpython-ec7cf1382bc4f32aa4fe20edcf8be83cbf530c62.tar.gz
cpython-ec7cf1382bc4f32aa4fe20edcf8be83cbf530c62.tar.bz2
Remove another reference to stat.ST_MODE
-rw-r--r--Lib/posixpath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/posixpath.py b/Lib/posixpath.py
index 1f84a43..6c66689 100644
--- a/Lib/posixpath.py
+++ b/Lib/posixpath.py
@@ -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)