From 673f7efa08850e42d077cab38683be2e4764b876 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 5 Jan 2008 21:20:19 +0000 Subject: [PATCH] Fix bug introduced by r59746. --- Lib/platform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/platform.py b/Lib/platform.py index 3d1997c3489..1fc10329ac6 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)))