diff options
| author | Raymond Hettinger <python@rcn.com> | 2002-06-01 19:51:15 +0000 |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2002-06-01 19:51:15 +0000 |
| commit | c0b1bb6d1e60ccf5bb996982376f67f2a167b8d4 (patch) | |
| tree | 19fbeeda95c0f7d860f26a2a34becdc38ea39971 /Lib/statcache.py | |
| parent | e3a032af65863e1dcfa567e5bd597206852285fa (diff) | |
| download | cpython-c0b1bb6d1e60ccf5bb996982376f67f2a167b8d4.tar.gz | |
Replaced obsolete stat module constants with equivalent attributes
Diffstat (limited to 'Lib/statcache.py')
| -rw-r--r-- | Lib/statcache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/statcache.py b/Lib/statcache.py index 551069bbe6..d478393804 100644 --- a/Lib/statcache.py +++ b/Lib/statcache.py @@ -79,4 +79,4 @@ def isdir(path): st = stat(path) except _os.error: return False - return S_ISDIR(st[ST_MODE]) + return S_ISDIR(st.st_mode) |
