From bfa9f13e14078d0ab17dfa81e32aa3b6d253c650 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 4 Nov 1997 18:40:53 +0000 Subject: [PATCH] islink() returns false, but there is no constant false! Return 0 instead. --- Lib/dospath.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/dospath.py b/Lib/dospath.py index 73e6377b4f8..e003db149fb 100644 --- a/Lib/dospath.py +++ b/Lib/dospath.py @@ -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?