Commit c75f1122 authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Use isabs() in conditional, not abspath

parent a3711f73
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment