Unnecessary newline in exception message
PiperOrigin-RevId: 245818022
This commit is contained in:
parent
c8c1be7fa2
commit
c5a75c2821
@ -80,7 +80,7 @@ def strip_unused(input_graph_def, input_node_names, output_node_names,
|
|||||||
inputs_replaced_graph_def.node.extend([copy.deepcopy(node)])
|
inputs_replaced_graph_def.node.extend([copy.deepcopy(node)])
|
||||||
|
|
||||||
if not_found:
|
if not_found:
|
||||||
raise KeyError("The following input nodes were not found: %s\n" % not_found)
|
raise KeyError("The following input nodes were not found: %s" % not_found)
|
||||||
|
|
||||||
output_graph_def = graph_util.extract_sub_graph(inputs_replaced_graph_def,
|
output_graph_def = graph_util.extract_sub_graph(inputs_replaced_graph_def,
|
||||||
output_node_names)
|
output_node_names)
|
||||||
|
Loading…
Reference in New Issue
Block a user