From: Neal Norwitz Date: Thu, 6 Jun 2002 18:16:14 +0000 (+0000) Subject: Remove another reference to stat.ST_MODE X-Git-Tag: v2.3c1~5442 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ec7cf1382bc4f32aa4fe20edcf8be83cbf530c62;p=thirdparty%2FPython%2Fcpython.git Remove another reference to stat.ST_MODE --- diff --git a/Lib/posixpath.py b/Lib/posixpath.py index 1f84a431385d..6c66689b6b1d 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)