未验证 提交 49f366e9 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #3589 from thread-liu/eclipse

[update] ubuntu 环境下,文件路径错误
...@@ -109,12 +109,12 @@ def ExcludeFiles(infiles, files): ...@@ -109,12 +109,12 @@ def ExcludeFiles(infiles, files):
def ExcludePaths(rootpath, paths): def ExcludePaths(rootpath, paths):
ret = [] ret = []
files = os.listdir(rootpath) files = os.listdir(OSPath(rootpath))
for file in files: for file in files:
if file.startswith('.'): if file.startswith('.'):
continue continue
fullname = os.path.join(rootpath, file) fullname = os.path.join(OSPath(rootpath), file)
if os.path.isdir(fullname): if os.path.isdir(fullname):
# print(fullname) # print(fullname)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册