summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xLib/platform.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/platform.py b/Lib/platform.py
index 3d1997c..1fc1032 100755
--- a/Lib/platform.py
+++ b/Lib/platform.py
@@ -860,7 +860,7 @@ def _follow_symlinks(filepath):
""" In case filepath is a symlink, follow it until a
real file is reached.
"""
- filepath = _abspath(filepath)
+ filepath = os.path.abspath(filepath)
while os.path.islink(filepath):
filepath = os.path.normpath(
os.path.join(filepath,os.readlink(filepath)))