summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2015-05-08 11:03:26 +1200
committerAndrew Bartlett <abartlet@samba.org>2015-06-12 06:57:16 +0200
commita75b87490232a599c1aa3d0ccef660334eea9cc7 (patch)
treec7d5620a418affc4cdfd1070807d466f223fd87e
parent7c62a858514090217a84ac7fe2b6595a1654cc77 (diff)
downloadsamba-a75b87490232a599c1aa3d0ccef660334eea9cc7.tar.gz
KCC: docstring for kcc.graph.process_edge_set()
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--python/samba/kcc/graph.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/samba/kcc/graph.py b/python/samba/kcc/graph.py
index db8864f5c15..80d07d279af 100644
--- a/python/samba/kcc/graph.py
+++ b/python/samba/kcc/graph.py
@@ -460,6 +460,13 @@ def undemote_vertex(vertex):
def process_edge_set(graph, e_set, internal_edges):
+ """Find internal edges to pass to Kruskal's algorithm
+
+ :param graph: an IntersiteGraph object
+ :param e_set: an edge set
+ :param internal_edges: a set that internal edges get added to
+ :return: None
+ """
if e_set is None:
for edge in graph.edges:
for vertex in edge.vertices: