From 017583269c4050a635adeca52c0c7fbf3250dc33 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Tue, 28 Apr 2015 11:30:30 +1200 Subject: [PATCH] KCC: Slightly improve docstring for KCC.get_all_bridgeheads() Signed-off-by: Douglas Bagnall Reviewed-by: Garming Sam Reviewed-by: Andrew Bartlett --- source4/scripting/bin/samba_kcc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source4/scripting/bin/samba_kcc b/source4/scripting/bin/samba_kcc index 7234f911a5e..58aff29b847 100755 --- a/source4/scripting/bin/samba_kcc +++ b/source4/scripting/bin/samba_kcc @@ -1221,7 +1221,9 @@ class KCC(object): def get_all_bridgeheads(self, site, part, transport, partial_ok, detect_failed): - """Get all bridghead DCs satisfying the given criteria + """Get all bridghead DCs on a site satisfying the given criteria + + Part of MS-ADTS 6.2.2.3.4.4 :param site: site object representing the site for which bridgehead DCs are desired. @@ -1234,8 +1236,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: list of dsa object for available bridgehead - DCs or None + :return: list of dsa object for available bridgehead DCs """ bhs = []