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)