]> granicus.if.org Git - python/commitdiff
islink() returns false, but there is no constant false! Return 0 instead.
authorGuido van Rossum <guido@python.org>
Tue, 4 Nov 1997 18:40:53 +0000 (18:40 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 4 Nov 1997 18:40:53 +0000 (18:40 +0000)
Lib/dospath.py

index 73e6377b4f865f9b26e62a575e10936f3266dbec..e003db149fb4dcdf1e15986cdb563c746c69f74d 100644 (file)
@@ -134,7 +134,7 @@ def commonprefix(m):
 # This will always return false on systems where posix.lstat doesn't exist.
 
 def islink(path):
-       return false
+       return 0
 
 
 # Does a path exist?