“f94bfbaef02b7767c668192d73411838e87122fe”上不存在“tests/pytest/table/alter_wal0.py”
提交 6f41cc25 编写于 作者: C chenchao99

fix the framework parsing bug, when the op has no task attribute

上级 e569b96b
...@@ -435,9 +435,14 @@ class FrameworkParser: ...@@ -435,9 +435,14 @@ class FrameworkParser:
for graph_info in graph_file: for graph_info in graph_file:
result = self._parse_one_row_graph_info(graph_info) result = self._parse_one_row_graph_info(graph_info)
task_info = task_cache.get(result[0]) task_info = task_cache.get(result[0])
task_info.extend(result) if task_info:
csv_writer.writerow(task_info) task_info.extend(result)
del task_cache[result[0]] csv_writer.writerow(task_info)
del task_cache[result[0]]
else:
save_info = [None, None, None]
save_info.extend(result)
csv_writer.writerow(save_info)
none_list = [None, None, None, None] none_list = [None, None, None, None]
for key, value in task_cache.items(): for key, value in task_cache.items():
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册