summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/posixpath.py2
1 files changed, 1 insertions, 1 deletions
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: