Fix deleting child_sid from nodes_dict one more time
Change-Id: If8bd0fffbd03bc049d693ce9eae09ae7088c7253
This commit is contained in:
parent
5c5ccc46be
commit
de71d54143
|
@ -77,7 +77,7 @@ def unpack_graph(packed_graph):
|
|||
graph_nodes_dict[child_sid] = GraphNode(
|
||||
nodes_dict[child_sid], ())
|
||||
children.append(graph_nodes_dict[child_sid])
|
||||
del(nodes_dict[child_sid])
|
||||
nodes_dict.pop(child_sid, None)
|
||||
graph_nodes_dict[parent_sid] = GraphNode(nodes_dict[parent_sid],
|
||||
tuple(children))
|
||||
|
||||
|
|
Loading…
Reference in New Issue