未验证 提交 7fa3a724 编写于 作者: H huzhiqiang 提交者: GitHub

[Infrt] upgrade kernel launcher fun generator (#40826)

上级 0bcb4f85
......@@ -58,7 +58,7 @@ def get_api_yaml_info(file_path):
def get_kernel_info(file_path):
f = open(file_path, "r")
cont = f.readlines()
return [l.strip() for l in cont]
return [l.strip() for l in cont if l.strip() != ""]
def get_attr_info(file_path):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册