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
|
||||
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)))
|
||||
|
|
Loading…
Reference in New Issue