From c75f11222c0a6c6fb2856c613a27df0a49c0695a Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Mon, 2 Aug 2004 14:54:16 +0000 Subject: Use isabs() in conditional, not abspath --- Lib/posixpath.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/posixpath.py b/Lib/posixpath.py index a344a07..557f8f2 100644 --- a/Lib/posixpath.py +++ b/Lib/posixpath.py @@ -431,7 +431,7 @@ def _resolve_link(path): paths_seen.append(path) # Resolve where the link points to resolved = os.readlink(path) - if not abspath(resolved): + if not isabs(resolved): dir = dirname(path) path = normpath(join(dir, resolved)) else: -- cgit v0.12