diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2018-01-07 22:17:43 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-05-31 01:57:16 +0200 |
commit | 03bd7c20f0846d6b231573b310190d3e0a747f00 (patch) | |
tree | d5488a42e4005031b2e6d569f7e836abd01cf3ad /python/samba/kcc/graph.py | |
parent | cd2365175f5e9d5b5e2725fecf07b3862d3923df (diff) | |
download | samba-03bd7c20f0846d6b231573b310190d3e0a747f00.tar.gz |
kcc graphs: site edges in colour, labeled with DNs
This makes it easy to see where the site edges objects are, and
what sites they refer too.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python/samba/kcc/graph.py')
-rw-r--r-- | python/samba/kcc/graph.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/kcc/graph.py b/python/samba/kcc/graph.py index 9dfc541548f..1e63f7c7629 100644 --- a/python/samba/kcc/graph.py +++ b/python/samba/kcc/graph.py @@ -293,7 +293,7 @@ def create_edge(con_type, site_link, guid_to_vertex): e = MultiEdge() e.site_link = site_link e.vertices = [] - for site_guid in site_link.site_list: + for site_guid, site_dn in site_link.site_list: if str(site_guid) in guid_to_vertex: e.vertices.extend(guid_to_vertex.get(str(site_guid))) e.repl_info.cost = site_link.cost |