1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

KCC: Slightly improve docstring for KCC.get_bridgehead()

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>
This commit is contained in:
Douglas Bagnall 2015-04-28 11:29:47 +12:00 committed by Andrew Bartlett
parent 6a28fc8364
commit 40d451a7da

View File

@ -1190,7 +1190,9 @@ class KCC(object):
return g
def get_bridgehead(self, site, part, transport, partial_ok, detect_failed):
"""Get a bridghead DC.
"""Get a bridghead DC for a site.
Part of MS-ADTS 6.2.2.3.4.4
:param site: site object representing for which a bridgehead
DC is desired.
@ -1203,7 +1205,7 @@ class KCC(object):
:param detect_failed: True to detect failed DCs and route
replication traffic around them, False to assume no DC
has failed.
::returns: dsa object for the bridgehead DC or None
:return: dsa object for the bridgehead DC or None
"""
bhs = self.get_all_bridgeheads(site, part, transport,