diff options
author | Georg Brandl <georg@python.org> | 2008-01-05 21:20:19 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-01-05 21:20:19 (GMT) |
commit | 673f7efa08850e42d077cab38683be2e4764b876 (patch) | |
tree | 646e3be5a2ee6c841d2ae86c52bf6e996f5cb3f5 /Lib/platform.py | |
parent | 60bad0e0970c88dfc858a07220aa2ae50a62484d (diff) | |
download | cpython-673f7efa08850e42d077cab38683be2e4764b876.zip cpython-673f7efa08850e42d077cab38683be2e4764b876.tar.gz cpython-673f7efa08850e42d077cab38683be2e4764b876.tar.bz2 |
Fix bug introduced by r59746.
Diffstat (limited to 'Lib/platform.py')
-rwxr-xr-x | Lib/platform.py | 2 |
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))) |