diff Lib/statcache.py @ 22867:e2f2187c3d2c legacy-trunk

Partial introduction of bools where appropriate.
author Guido van Rossum <guido@python.org>
date Sun, 07 Apr 2002 06:36:23 +0000
parents f68dbffff927
children 54229c35132e
line wrap: on
line diff
--- a/Lib/statcache.py	Sun Apr 07 06:34:38 2002 +0000
+++ b/Lib/statcache.py	Sun Apr 07 06:36:23 2002 +0000
@@ -73,5 +73,5 @@
     try:
         st = stat(path)
     except _os.error:
-        return 0
+        return False
     return S_ISDIR(st[ST_MODE])