提交 c7ee7f98 编写于 作者: B Bernard Xiong

Merge pull request #352 from grissiom/fix-tools-srcremove-st

tools: fix SrcRemove on empty src
......@@ -493,6 +493,9 @@ def EndBuilding(target, program = None):
CscopeDatabase(Projects)
def SrcRemove(src, remove):
if not src:
return
if type(src[0]) == type('str'):
for item in src:
if os.path.basename(item) in remove:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册