From 40d451a7da63b145434bf2ed4fa13bcb257ed0ac Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Tue, 28 Apr 2015 11:29:47 +1200 Subject: [PATCH] KCC: Slightly improve docstring for KCC.get_bridgehead() Signed-off-by: Douglas Bagnall Reviewed-by: Garming Sam Reviewed-by: Andrew Bartlett --- source4/scripting/bin/samba_kcc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source4/scripting/bin/samba_kcc b/source4/scripting/bin/samba_kcc index d2c62c3c8e5..7234f911a5e 100755 --- a/source4/scripting/bin/samba_kcc +++ b/source4/scripting/bin/samba_kcc @@ -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, -- 2.11.4.GIT