summaryrefslogtreecommitdiffstats
path: root/Lib/statcache.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/statcache.py')
-rw-r--r--Lib/statcache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/statcache.py b/Lib/statcache.py
index 3123418..42e5e90 100644
--- a/Lib/statcache.py
+++ b/Lib/statcache.py
@@ -73,5 +73,5 @@ def isdir(path):
try:
st = stat(path)
except _os.error:
- return 0
+ return False
return S_ISDIR(st[ST_MODE])