From 6a28fc83641b687d3821c1f2689f29ff22f58312 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Tue, 28 Apr 2015 11:22:40 +1200 Subject: [PATCH] KCC: improve docstring for KCC.load_all_partitions() Signed-off-by: Douglas Bagnall Reviewed-by: Garming Sam Reviewed-by: Andrew Bartlett --- source4/scripting/bin/samba_kcc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source4/scripting/bin/samba_kcc b/source4/scripting/bin/samba_kcc index d483d01c163..d2c62c3c8e5 100755 --- a/source4/scripting/bin/samba_kcc +++ b/source4/scripting/bin/samba_kcc @@ -274,13 +274,13 @@ class KCC(object): self.dsa_by_guid[str(self.my_dsa.dsa_guid)] = self.my_dsa def load_all_partitions(self): - """Discover all NCs thru the Partitions dn and - instantiate and load the NCs. + """Discover and load all partitions. Each NC is inserted into the part_table by partition dn string (not the nCName dn string) - ::returns: Raises KCCError on error + :return: None + :raise: KCCError if partitions can't be found """ try: res = self.samdb.search("CN=Partitions,%s" % -- 2.11.4.GIT