[Python-3000-checkins] r59756 - python/branches/py3k/Lib/platform.py

georg.brandl python-3000-checkins at python.org
Sat Jan 5 22:20:19 CET 2008


Author: georg.brandl
Date: Sat Jan  5 22:20:19 2008
New Revision: 59756

Modified:
   python/branches/py3k/Lib/platform.py
Log:
Fix bug introduced by r59746.


Modified: python/branches/py3k/Lib/platform.py
==============================================================================
--- python/branches/py3k/Lib/platform.py	(original)
+++ python/branches/py3k/Lib/platform.py	Sat Jan  5 22:20:19 2008
@@ -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)))


More information about the Python-3000-checkins mailing list