commit | ec7cf1382bc4f32aa4fe20edcf8be83cbf530c62 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Thu Jun 06 18:16:14 2002 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Thu Jun 06 18:16:14 2002 +0000 |
tree | 99a90ed46934d99fde1a419731ec3d81ef1c6245 | |
parent | 33b77de106cc49f3c7e03335d4ff989fa909b9e2 [diff] |
Remove another reference to stat.ST_MODE
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 @@ 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)