diff options
| author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2015-04-23 14:18:53 +1200 |
|---|---|---|
| committer | Andrew Bartlett <abartlet@samba.org> | 2015-06-12 06:57:13 +0200 |
| commit | ff7a0902dde932b4d166abc664165a2f9f12603d (patch) | |
| tree | 61a2c6550d334af95b47098bfaa82573b1f81f04 /python | |
| parent | cb9486308780c5736d2f7a3dde5f45a0e7f4a8ce (diff) | |
| download | samba-ff7a0902dde932b4d166abc664165a2f9f12603d.tar.gz samba-ff7a0902dde932b4d166abc664165a2f9f12603d.tar.bz2 samba-ff7a0902dde932b4d166abc664165a2f9f12603d.zip | |
KCC: clarify a couple of comments in graph.py
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>
Diffstat (limited to 'python')
| -rw-r--r-- | python/samba/kcc/graph.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/python/samba/kcc/graph.py b/python/samba/kcc/graph.py index 431ff48cdc7..82ce80c93d6 100644 --- a/python/samba/kcc/graph.py +++ b/python/samba/kcc/graph.py @@ -237,9 +237,9 @@ def setup_dijkstra(graph, edge_type, include_black, queue): def try_new_path(graph, queue, vfrom, edge, vto): newRI = ReplInfo() - # What this function checks is that there is a valid time frame for - # which replication can actually occur, despite being adequately - # connected + #This function combines the repl_info and checks is that there is + # a valid time frame for which replication can actually occur, + # despite being adequately connected intersect = combine_repl_info(vfrom.repl_info, edge.repl_info, newRI) # If the new path costs more than the current, then ignore the edge @@ -321,7 +321,7 @@ def process_edge(graph, examine, internal_edges): # Add internal edge, endpoints are roots of the vertices to pass in -# and are always colored +# and are always red or black def add_int_edge(graph, internal_edges, examine, v1, v2): root1 = v1.root root2 = v2.root |
