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:
parent
d583913337
commit
547cdaa120
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user