未验证 提交 b6fd61a9 编写于 作者: 走神的阿圆's avatar 走神的阿圆 提交者: GitHub

set followlinks on posix platform (#716)

上级 d6b10994
......@@ -124,6 +124,8 @@ class LocalFileSystem(object):
self._write(filename, file_content, "wb" if binary_mode else "w")
def walk(self, dir):
if 'posix' == os.name:
return os.walk(dir, followlinks=True)
return os.walk(dir)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册