Merge "Fix deleting child_sid from nodes_dict one more time"

This commit is contained in:
Jenkins 2016-12-26 02:43:28 +00:00 committed by Gerrit Code Review
commit 5b48b1acea
1 changed files with 1 additions and 1 deletions

View File

@ -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))