Fix bug introduced by r59746.
This commit is contained in:
parent
60bad0e097
commit
673f7efa08
|
@ -860,7 +860,7 @@ def _follow_symlinks(filepath):
|
||||||
""" In case filepath is a symlink, follow it until a
|
""" In case filepath is a symlink, follow it until a
|
||||||
real file is reached.
|
real file is reached.
|
||||||
"""
|
"""
|
||||||
filepath = _abspath(filepath)
|
filepath = os.path.abspath(filepath)
|
||||||
while os.path.islink(filepath):
|
while os.path.islink(filepath):
|
||||||
filepath = os.path.normpath(
|
filepath = os.path.normpath(
|
||||||
os.path.join(filepath,os.readlink(filepath)))
|
os.path.join(filepath,os.readlink(filepath)))
|
||||||
|
|
Loading…
Reference in New Issue