Merge pull request #3589 from thread-liu/eclipse

[update] ubuntu 环境下,文件路径错误
This commit is contained in:
Bernard Xiong 2020-05-11 18:22:42 +08:00 committed by GitHub
commit 49f366e947
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -109,12 +109,12 @@ def ExcludeFiles(infiles, files):
def ExcludePaths(rootpath, paths):
ret = []
files = os.listdir(rootpath)
files = os.listdir(OSPath(rootpath))
for file in files:
if file.startswith('.'):
continue
fullname = os.path.join(rootpath, file)
fullname = os.path.join(OSPath(rootpath), file)
if os.path.isdir(fullname):
# print(fullname)