git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d583913
)
kcc: Remove unused is_sitelink call
author
Garming Sam
<garming@catalyst.net.nz>
Tue, 24 Feb 2015 01:14:33 +0000
(14:14 +1300)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 28 May 2015 05:25:08 +0000
(07:25 +0200)
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>
python/samba/kcc_utils.py
patch
|
blob
|
history
diff --git
a/python/samba/kcc_utils.py
b/python/samba/kcc_utils.py
index 192b274cbdf304ef1d4cb2e846250ed30a04f4ec..51f540226adf3bce81c337b689ade31f7297c730 100644
(file)
--- a/
python/samba/kcc_utils.py
+++ b/
python/samba/kcc_utils.py
@@
-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