From 523ee87f0cf76121bfa5e5578c9118b99f7ce5bf Mon Sep 17 00:00:00 2001 From: calvin Date: Wed, 9 Jul 2008 19:17:33 +0000 Subject: [PATCH] Add missing return in is_absolute_path() git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3846 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- linkcheck/checker/fileurl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linkcheck/checker/fileurl.py b/linkcheck/checker/fileurl.py index 45a345b4..940f86e3 100644 --- a/linkcheck/checker/fileurl.py +++ b/linkcheck/checker/fileurl.py @@ -75,7 +75,7 @@ def is_absolute_path (path): with a drive letter. On all other systems absolute paths start with a slash.""" if os.name == 'nt': - re.search(r"^[a-zA-Z]:", path) + return re.search(r"^[a-zA-Z]:", path) return path.startswith("/")