From 03bd7c20f0846d6b231573b310190d3e0a747f00 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Sun, 7 Jan 2018 22:17:43 +1300 Subject: 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 Reviewed-by: Andrew Bartlett --- python/samba/kcc/graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/samba/kcc/graph.py') 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 -- cgit v1.2.1