From: Mukund Sivaraman Date: Fri, 28 Jun 2013 00:39:25 +0000 (+0530) Subject: [2993] Update Python documentation for ZoneWriter's load() method X-Git-Tag: bind10-1.2.0beta1-release~373^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0d3ac3452be35e57346715a296e05deb48a03ccd;p=thirdparty%2Fkea.git [2993] Update Python documentation for ZoneWriter's load() method --- diff --git a/src/lib/python/isc/datasrc/zonewriter_inc.cc b/src/lib/python/isc/datasrc/zonewriter_inc.cc index 5d862b3601..1f10a9a475 100644 --- a/src/lib/python/isc/datasrc/zonewriter_inc.cc +++ b/src/lib/python/isc/datasrc/zonewriter_inc.cc @@ -46,12 +46,13 @@ the data actually served, it only prepares them for future use.\n\ This is the first method you should call on the object. Never call it\n\ multiple times.\n\ \n\ -Depending on how the ZoneWriter was constructed (see catch_load_error\n\ -argument to ConfigurableClientList.get_cached_zone_writer()), in case a\n\ -load error happens, a string with the error message may be returned. When\n\ -ZoneWriter is not constructed to do that, in case of a load error, a\n\ -DataSourceError exception is raised. In all other cases, this method\n\ -returns None.\n\ +If the zone loads successfully, this method returns None. In the case of\n\ +a load error, if the ZoneWriter was constructed with the\n\ +catch_load_error option (see\n\ +ConfigurableClientList.get_cached_zone_writer()), this method will\n\ +return an error message string; if it was created without the\n\ +catch_load_error option, this method will raise a DataSourceError\n\ +exception.\n\ \n\ Exceptions:\n\ isc.InvalidOperation if called second time.\n\