]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix bug introduced by r59746.
authorGeorg Brandl <georg@python.org>
Sat, 5 Jan 2008 21:20:19 +0000 (21:20 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 5 Jan 2008 21:20:19 +0000 (21:20 +0000)
Lib/platform.py

index 3d1997c34892022e6b122232e4dfa6ce00c33035..1fc10329ac676a4be56c78d0820530bd29797116 100755 (executable)
@@ -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)))