From ec7cf1382bc4f32aa4fe20edcf8be83cbf530c62 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Thu, 6 Jun 2002 18:16:14 +0000 Subject: [PATCH] Remove another reference to stat.ST_MODE --- Lib/posixpath.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/posixpath.py b/Lib/posixpath.py index 1f84a43138..6c66689b6b 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) -- 2.40.0