summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/samba/kcc/graph.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/samba/kcc/graph.py b/python/samba/kcc/graph.py
index 6eb443452b2..a005c59c7f3 100644
--- a/python/samba/kcc/graph.py
+++ b/python/samba/kcc/graph.py
@@ -324,6 +324,11 @@ def create_edge_set(graph, transport, site_link_bridge):
def setup_vertices(graph):
+ """Initialise vertices in the graph for the Dijkstra's run.
+
+ :param graph: an IntersiteGraph object
+ :return: None
+ """
for v in graph.vertices:
if v.is_white():
v.repl_info.cost = MAX_DWORD