From 61c1d8ad390c70507618bde1a6c659e92a62e286 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Fri, 8 May 2015 11:03:37 +1200 Subject: [PATCH] KCC: docstring for kcc.graph.process_edge() Signed-off-by: Douglas Bagnall Reviewed-by: Garming Sam Reviewed-by: Andrew Bartlett --- python/samba/kcc/graph.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/python/samba/kcc/graph.py b/python/samba/kcc/graph.py index 80d07d279af..fe2185ad65c 100644 --- a/python/samba/kcc/graph.py +++ b/python/samba/kcc/graph.py @@ -480,7 +480,13 @@ def process_edge_set(graph, e_set, internal_edges): def process_edge(graph, examine, internal_edges): - # Find the set of all vertices touches the edge to examine + """Find the set of all vertices touching an edge to examine + + :param graph: an IntersiteGraph object + :param examine: an edge + :param internal_edges: a set that internal edges get added to + :return: None + """ vertices = [] for v in examine.vertices: # Append a 4-tuple of color, repl cost, guid and vertex