Commit 740fb463 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Make parameter name consistent.

parent fea67492
......@@ -139,7 +139,7 @@ class DirectedGraph(object):
except KeyError:
return None
def remove_edge(self, p_from, p_to, remove_unconnected_nodes=True):
def remove_edge(self, p_from, p_to, p_remove_unconnected_nodes=True):
"""
Removes an edge from the graph.
......@@ -154,7 +154,7 @@ class DirectedGraph(object):
except KeyError:
return None
if remove_unconnected_nodes:
if p_remove_unconnected_nodes:
if self.is_isolated(p_from):
self.remove_node(p_from)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment