summaryrefslogtreecommitdiff
path: root/python/samba/kcc/graph.py
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2015-05-07 14:26:33 +1200
committerAndrew Bartlett <abartlet@samba.org>2015-06-12 06:57:16 +0200
commit68a0f131fb5adc48e9c1a49dede696cacf358d76 (patch)
tree81e54436bfa2efa560c6181f845b5f6d3a448d03 /python/samba/kcc/graph.py
parentaf1a307f8d6d1d6b721ed4803a9d9ad08faa7e53 (diff)
downloadsamba-68a0f131fb5adc48e9c1a49dede696cacf358d76.tar.gz
KCC: remove XXX scare comments around guid comparisons.
The guid comparisons are settled. We use ndrpack. 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/samba/kcc/graph.py')
-rw-r--r--python/samba/kcc/graph.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/python/samba/kcc/graph.py b/python/samba/kcc/graph.py
index 83555c214a8..f3dc37348e4 100644
--- a/python/samba/kcc/graph.py
+++ b/python/samba/kcc/graph.py
@@ -514,7 +514,6 @@ def add_int_edge(graph, internal_edges, examine, v1, v2):
newIntEdge = InternalEdge(root1, root2, red_red, ri2, examine.con_type,
examine.site_link)
# Order by vertex guid
- #XXX guid comparison using ndr_pack
if newIntEdge.v1.ndrpacked_guid > newIntEdge.v2.ndrpacked_guid:
newIntEdge.v1 = root2
newIntEdge.v2 = root1
@@ -775,7 +774,6 @@ class InternalEdge(object):
if self_time != other_time:
return self_time > other_time
- #XXX guid comparison using ndr_pack
if self.v1.guid != other.v1.guid:
return self.v1.ndrpacked_guid < other.v1.ndrpacked_guid