1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-05 20:58:40 +03:00

kcc: Remove unused is_sitelink call

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Garming Sam 2015-02-24 14:14:33 +13:00 committed by Andrew Bartlett
parent d583913337
commit 547cdaa120

View File

@ -2160,14 +2160,6 @@ class SiteLink(object):
if guid not in self.site_list:
self.site_list.append(guid)
def is_sitelink(self, site1_dnstr, site2_dnstr):
"""Given a siteLink object, determine if it is a link
between the two input site DNs
"""
if site1_dnstr in self.site_list and site2_dnstr in self.site_list:
return True
return False
class KCCFailedObject(object):
def __init__(self, uuid, failure_count, time_first_failure, last_result, dns_name):
self.uuid = uuid