提交 762427be 编写于 作者: Y yaxing.chen

bugfix:remove duplicate files in src list before DefineGroup

上级 1ea5135a
......@@ -626,6 +626,8 @@ def DefineGroup(name, src, depend, **parameters):
group['name'] = name
group['path'] = group_path
if type(src) == type([]):
# remove duplicate elements from list
src = list(set(src))
group['src'] = File(src)
else:
group['src'] = src
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册