mirror of
https://github.com/samba-team/samba.git
synced 2025-03-05 20:58:40 +03:00
KCC: docstring for kcc.graph.process_edge()
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>
This commit is contained in:
parent
a75b874902
commit
61c1d8ad39
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user