commit | 673f7efa08850e42d077cab38683be2e4764b876 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sat Jan 05 21:20:19 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Sat Jan 05 21:20:19 2008 +0000 |
tree | 646e3be5a2ee6c841d2ae86c52bf6e996f5cb3f5 | |
parent | 60bad0e0970c88dfc858a07220aa2ae50a62484d [diff] [blame] |
Fix bug introduced by r59746.
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 @@ """ 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)))